Skip to content

Instantly share code, notes, and snippets.

@EranSch
Created January 16, 2014 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EranSch/8449808 to your computer and use it in GitHub Desktop.
Save EranSch/8449808 to your computer and use it in GitHub Desktop.
Handy Git aliases, for future reference :)
alias gs='git status '
alias gd='git diff '
alias ga='git add '
alias gc='git commit '
alias glog="git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
@ajacques-quatral
Copy link

Well never thought of that... Good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment