- http://stackoverflow.com/questions/2954477/how-to-find-commits-by-a-specific-user-in-git
- http://git-scm.com/docs/git-log
git log --author=<pattern>git log --author="linuxeron" --grep="fix" -iThe --stat option displays the number of insertions and deletions to each file altered by each commit (note that modifying a line is represented as 1 insertion and 1 deletion).
git log --statgit rm -r --cached .
git add .
git commit -m "fixed untracked files"git log --graph --abbrev-commit --decorate --all --format=format:"%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)"
git config --global alias.grog 'log --graph --abbrev-commit --decorate --all --format=format:"%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(dim white) - %an%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n %C(white)%s%C(reset)"'git fetch && git pull origin/develop --rebase --autostashgit merge --no-commit --no-ff $BRANCH
git merge --abortgit diff stash@{0}^1 stash@{0} -- <filename>
git diff stash@{0}^! -- <filename>git shortlog -s -n --all --no-mergesgit shortlog -ns --no-merges v11..HEAD | head -n15
git shortlog -ns --no-merges n2.4..HEAD | head -n15git diff HEAD^^ HEAD main.c
git diff HEAD^^..HEAD -- main.c
git diff HEAD~2 HEAD -- main.cgit update-index --assume-unchanged <file>
#Long Path Issue Windows OS
git config --system core.longpaths truegit diff > some-changes.patchgit apply /path/to/some-changes.patchgit rev-list --count --since="Dec 3 2015" --before="Jan 3 2016" --all
git rev-list --count --since="Dec 3 2015" --before="Jan 3 2016" --all --no-merges
git rev-list --count HEAD --since=30.minute