Skip to content

Instantly share code, notes, and snippets.

@kartikag01
Created November 11, 2017 13:47
Show Gist options
  • Select an option

  • Save kartikag01/7a5c03582f426c2753507ba6101e6a14 to your computer and use it in GitHub Desktop.

Select an option

Save kartikag01/7a5c03582f426c2753507ba6101e6a14 to your computer and use it in GitHub Desktop.
alias gs='git status'
alias gst='git status -sb'
alias ga='git add .'
alias gau='git add -u' # Removes deleted files
alias gp='git pull'
alias gpu='git push'
alias gc='git commit -v'
alias gca='git commit -v -a' # Does both add and commit in same command, add -m 'blah' for comment
alias gco='git checkout'
alias gl='git log --oneline'
alias gb='git branch '
alias gc='git commit'
alias gd='git diff'
alias go='git checkout '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment