-
-
Save hanrw/076f1d449079ca17ecc5bb68cf62f2ed to your computer and use it in GitHub Desktop.
hg churn and log cheat sheet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Graph of total commits by month, over last year: | |
| hg churn -f "%Y-%m" -s -c -d "-365" | |
| List of my commits over last year: | |
| hg log -k aras -d "2013-01-01 to 2013-12-31" --template "{short(node)} {user(author)} {firstline(desc)}\n" >mycommits.txt | |
| My lines changed count over last year (takes ages): | |
| hg churn -r "user(aras)" -d "2013-01-01 to 2013-12-31" --diffstat | |
| Commits over last 30 days by authors: | |
| hg churn -d "-30" -c |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment