A couple of people asked me about aliases from my Git
workshop, so here are those we used. Just put them in your
.gitconfig and feel free to modify them for your
[alias] co = checkout br = branch ci = commit st = status d = diff l = log --graph --oneline --decorate
The last alias can be improved with a timestamp and an author
in the same line, but you have to use custom formating:
l = log --graph --pretty=format:\"%C(yellow)%h%Cred%d%Creset %s
There are also some Git tips and tricks I shared late last year.