Pretty print git logs in one line
Optionally, add -<number>
to increase the log reach
$ git config --global alias.lg 'log --format="%C(auto)%h %Cgreen%s %Creset(%cN, %cr) %C(auto)%d" -10'
Show diff in commits between two branches
Use as $ git branch-diff <branch1>..<branch2>
Add the --reverse
flag to show the log in "GitHub order"