Created
May 22, 2015 09:35
-
-
Save draptik/614fe988c929525b25d5 to your computer and use it in GitHub Desktop.
Git alias settings in gitconfig
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.ec=config --global -e | |
alias.up=pull --rebase | |
alias.co=checkout | |
alias.cob=checkout -b | |
alias.ls=log --pretty=format:'%C(yellow)%h%Creset%C(bold red)%d %Creset%s%Cgreen [%cn] %C(bold green)(%cr)%Creset' --decorate | |
alias.ll=log --graph --pretty=format:'%Cred%h%Creset -%C(bold yellow)%d%Creset %s %Cgreen(%cr) %C(dim green)<%an>%Creset' --abbrev-commit -- | |
date=relative | |
alias.f=!git ls-files | grep -i | |
alias.grep=grep -Ii | |
alias.m=merge | |
alias.com=checkout master | |
alias.rb=!git rebase master "$(git rev-parse --abbrev-ref HEAD)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment