git log -S <pattern> # search <pattern> from delete part or add part
git log -p -2 # show patch, limits to last 2 entry
git log --relative-date
git log --pretty=oneline
git log --pretty="%h - %an, %ar : %s"
git log -n
git log --pretty=format:"%h %s" --graph
git log --since=2.weeks --until=1.weeks
git log --after=2.weeks --before=1.weeks
git log --grep=pattern
git log --oneline --decorate # show where the branch pointer are pointing
git log --no-merges master..
git show --no-merges master..
git log -p --no-merges master..
git show some-branch:some-file.js
git pull -—rebase
git merge --no-ff
git diff -w
git add -p
git stash —keep-index
git stash -p
git rm --cached
git log master..exper # all commits reachable by exper that aren't reachable by master
git log origin/master HEAD
git log <ref1> <ref2> ^<ref3> # all commits reachable by <ref1> <ref2> but <ref3>
git log <ref1> <ref2> --not <ref3> # same as above
git log <ref1>...<ref2> # all commits both reachable by <ref1> and <ref2>
git log --format='%aN %ae' | sort -u