Skip to content

Instantly share code, notes, and snippets.

@lossendae
Created June 24, 2016 13:19
Show Gist options
  • Select an option

  • Save lossendae/0abcd45e493f91f249717ac0b443ff66 to your computer and use it in GitHub Desktop.

Select an option

Save lossendae/0abcd45e493f91f249717ac0b443ff66 to your computer and use it in GitHub Desktop.
Git config global
core.autocrlf=input
...
alias.ll=log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
alias.co=checkout
alias.ci=commit
alias.br=branch
alias.st=status
alias.cop=!git checkout $1 && git pull origin $1
alias.cob=checkout -b $1
alias.fp=!git push origin develop master && git push --tags
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment