Created
May 8, 2019 21:01
-
-
Save littleq0903/ba504e02821d7e42d3a457dfa57b218a to your computer and use it in GitHub Desktop.
My git alias collection
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
fetchmaster = fetch origin master:master | |
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative | |
br = for-each-ref --count=10 --sort=-committerdate refs/heads/ --format=%(refname:short) | |
br30 = for-each-ref --count=30 --sort=-committerdate refs/heads/ --format=%(refname:short) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment