Created
January 26, 2016 15:57
-
-
Save timdorr/a283c037c5f5a8857d8a to your computer and use it in GitHub Desktop.
.gitconfig aliases
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] | |
st = status -sb | |
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- | |
up = !git fetch origin && git rebase origin/master | |
mup = !git fetch origin && git merge origin/master | |
done = "!git checkout master && git pull && git fetch -p && git branch --merged | grep -Pv '\\*|master' | xargs -n 1 git branch -d" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment