Add this snippet to your global ~/.gitconfig
file to simply query commits per quarter of a year.
git (q1|q2|q3|q4|quarter1|quarter2|quarter3|quarter4) (2012|2013|2014...any year)
- will list all of your commits (based on your user name)
- that you've made from
q1|quarter1
January to Marchq2|quarter2
April to Juneq3|quarter3
July to Septemberq4|quarter4
October to December- in chronological order
- with one line per commit (use
git quarter1 2012
for the full message) - all additional parameters after the year will be passed to the
git log
command that is used to implement this macro - for example,
git q2 2010 --patch
lists all diffs for each commit.