Little Things I Like to Do with Git

Came across Little Things I Like to Do with Git a while back. Harry has a bunch of interesting git snippets. I found these the most useful:

See Which Branches You Recently Worked On

$ git for-each-ref --count=10 --sort=-committerdate refs/heads/ --format="%(refname:short)"

See What Everyone’s Been Getting Up To

$ git log --all --oneline --no-merges

View Complex Logs

$ git log --graph --all --decorate --stat --date=iso