Skip to content

Instantly share code, notes, and snippets.

@cirpo

cirpo/aliases Secret

Last active August 29, 2015 14:00
Show Gist options
  • Save cirpo/86d43ef8ef87b4cfd031 to your computer and use it in GitHub Desktop.
Save cirpo/86d43ef8ef87b4cfd031 to your computer and use it in GitHub Desktop.
alias ck='git checkout'
alias ckb='git checkout -b'
alias push='git push'
alias pushf='git push -f'
alias pull='git pull'
alias ci='git commit'
alias align='git pull --rebase origin master && git pull --rebase origin develop'
alias fetch='git fetch'
alias undo='git reset --hard HEAD'
alias dmb='git branch --merged | xargs git branch -d'
alias glog='git log --oneline --decorate'
alias st='git status -sb'
alias gdiff='git diff --word-diff'
alias tag='git tag'
alias master='git checkout master'
alias dev='git checkout develop'
@hossam-fares
Copy link

This aliases would be cool too:

alias branch='git branch'
alias rebase='git rebase'
alias cherry-pick='git cherry-pick'
alias stash='git stash'
alias stash-apply='git stash apply'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment