Skip to content

Instantly share code, notes, and snippets.

@boudhayan
Last active April 10, 2023 13:48
Show Gist options
  • Select an option

  • Save boudhayan/8df3b6a3b2493fc43f3a832e7a9ccdf1 to your computer and use it in GitHub Desktop.

Select an option

Save boudhayan/8df3b6a3b2493fc43f3a832e7a9ccdf1 to your computer and use it in GitHub Desktop.
alias g='git'
alias gm="git merge"
alias gmv='git mv'
alias grm='git rm'
alias gs='git status'
alias gss='git status -s'
alias gl='git pull'
alias gc='git clone'
alias ga='git add'
alias grh='git reset HEAD'
alias gap='git add -p'
alias ga='git add -A'
alias glum='git pull upstream master'
alias gpr='git pull --rebase'
alias gppd='git pull && git push origin develop'
alias gppm='git pull && git push origin master'
alias gfrb='git fetch && git rebase'
alias gp='git push'
alias gcount='git shortlog -sn'
alias gcp='git cherry-pick'
alias gco='git checkout'
alias gcm='git checkout master'
alias gsl="git shortlog -sn"
alias gwc="git whatchanged"
alias gnew="git log HEAD@{1}..HEAD@{0}"
alias gcaa="git commit -a --amend -C HEAD"
alias gstd="git stash drop"
alias gpm='git push origin master'
alias gpd='git push origin development'
alias gr='git remote'
alias gra='git remote add'
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