Skip to content

Instantly share code, notes, and snippets.

@kisztof
Created November 26, 2019 20:31
Show Gist options
  • Save kisztof/c598f7b0e409bbe71468eab41e447a82 to your computer and use it in GitHub Desktop.
Save kisztof/c598f7b0e409bbe71468eab41e447a82 to your computer and use it in GitHub Desktop.
git aliases
alias g='git'
alias gm="git merge"
alias grm='git rm'
alias gs='git status'
alias gss='git status -s'
alias gl='git pull'
alias ga='git add'
alias grh='git reset HEAD'
alias gp='git push'
alias gcount='git shortlog -sn'
alias gcp='git cherry-pick'
alias gco='git checkout'
alias gcm='git checkout master'
alias gwc="git whatchanged"
alias gpm='git push origin master'
alias gpd='git push origin develop'
alias gd='git diff'
alias gb='git branch'
alias gt="git tag"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment