Skip to content

Instantly share code, notes, and snippets.

@himedlooff
Last active March 4, 2019 15:27
Show Gist options
  • Save himedlooff/5bcc43f731b9c282ca64f221bab4abeb to your computer and use it in GitHub Desktop.
Save himedlooff/5bcc43f731b9c282ca64f221bab4abeb to your computer and use it in GitHub Desktop.

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