Skip to content

Instantly share code, notes, and snippets.

@jedna
Last active July 4, 2017 19:57
Show Gist options
  • Save jedna/bc255402f628474182ef6ff1c36414ff to your computer and use it in GitHub Desktop.
Save jedna/bc255402f628474182ef6ff1c36414ff to your computer and use it in GitHub Desktop.
Git aliases
alias pull="git pull"
alias push="git push"
alias co="git checkout"
alias com="git commit -m"
alias fetch="git fetch"
alias st="git status"
alias gl="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
alias unstage="git reset HEAD --"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment