Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

List

git config --global -l

Recent

git config --global alias.recent 'for-each-ref --count=10 --sort=-committerdate refs/heads/ --format="%(refname:short)"'

https://csswizardry.com/2017/05/little-things-i-like-to-do-with-git/

Overview

git config --global alias.overview 'log --all --oneline --no-merges'

https://csswizardry.com/2017/05/little-things-i-like-to-do-with-git/

Recent

git config --global alias.recent 'log --all --oneline --no-merges --author=<your email address>'

https://csswizardry.com/2017/05/little-things-i-like-to-do-with-git/

Today

git config --global alias.today 'log --since=00:00:00 --all --no-merges --oneline --author=<your email address>'

https://csswizardry.com/2017/05/little-things-i-like-to-do-with-git/

Graph

git config --global alias.graph 'log --graph --all --decorate --stat --date=iso'

https://csswizardry.com/2017/05/little-things-i-like-to-do-with-git/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.