Skip to content

Instantly share code, notes, and snippets.

@ktunprasert
Created January 10, 2022 23:52
Show Gist options
  • Save ktunprasert/0b0ed2340ab60d423bdbf2667dddb456 to your computer and use it in GitHub Desktop.
Save ktunprasert/0b0ed2340ab60d423bdbf2667dddb456 to your computer and use it in GitHub Desktop.
Common alias for Git and other dev tools
alias gaa='git add -A'
alias ga='git add'
alias gb='git branch'
alias gc='git checkout'
alias gcb='git checkout -b'
alias gcm='git commit -m'
alias gcp='git cherry-pick'
alias gm='git merge'
alias gmnf='git merge --no-ff'
alias gp='git pull'
alias gra='git remote add'
alias gs='git status'
alias gu='git push'
alias guu='git push -u'
alias cls='clear'
alias dc='docker-compose'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment