Skip to content

Instantly share code, notes, and snippets.

@rishabh-ink
Created September 23, 2013 17:28
Show Gist options
  • Select an option

  • Save rishabh-ink/6674046 to your computer and use it in GitHub Desktop.

Select an option

Save rishabh-ink/6674046 to your computer and use it in GitHub Desktop.
Some git aliases used in my terminal.
# Git aliases
alias gs="git status"
alias ga="git add"
alias gc="git commit -m "
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 gp="git push --all origin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment