Skip to content

Instantly share code, notes, and snippets.

@skarrman
Last active August 16, 2021 15:46
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 skarrman/ea5619db43448ed2f973bff80f9a50b1 to your computer and use it in GitHub Desktop.
Save skarrman/ea5619db43448ed2f973bff80f9a50b1 to your computer and use it in GitHub Desktop.
Git aliases for bash
alias gp='git push'
alias gpu='git pull --rebase'
alias gs='git status'
alias gb='git branch -a'
alias ga='git add .'
alias gf='git fetch'
alias gt='gitk --all &'
gc () {
git commit -m "$*"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment