Skip to content

Instantly share code, notes, and snippets.

@jsoendermann
Last active November 26, 2020 11:11
Show Gist options
  • Save jsoendermann/ac2c8663dc169e1f24ca90a43fb915fd to your computer and use it in GitHub Desktop.
Save jsoendermann/ac2c8663dc169e1f24ca90a43fb915fd to your computer and use it in GitHub Desktop.
useful aliases
alias gs="git status -sb"
alias gd="git diff"
alias ga="git add"
alias gh="git checkout"
alias gc="git commit"
alias gcn="git commit --no-verify"
alias gca="git commit --amend --no-edit"
alias gp="git push"
alias gpl="git pull"
alias gpr="git pull --rebase"
alias gl="git lg"
alias gb="git branch"
alias gg="git grep"
alias gr="git rebase"
alias gm="git merge"
alias gt="git stash"
alias gk="git cherry-pick"
alias ge="git reset"
alias gw="git show"
alias nr="npm run"
alias ni="npm install --save"
alias nid="npm install --save-dev"
alias "c."="code ."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment