Skip to content

Instantly share code, notes, and snippets.

@z16
Created October 2, 2020 07:06
Show Gist options
  • Save z16/87e47c06926b0d6fe011073614062b12 to your computer and use it in GitHub Desktop.
Save z16/87e47c06926b0d6fe011073614062b12 to your computer and use it in GitHub Desktop.
alias vrc="vi ~/.vimrc"
alias brc="vi ~/.bashrc"
alias e="explorer.exe"
alias g="git status"
alias gf="git fetch"
alias gp="git pull --ff-only"
alias gpr="git pull --rebase"
alias gps="git push"
alias gc="git commit -m"
alias gca="git commit -am"
alias gcam="git commit --amend --no-edit"
alias gcama="git commit . --amend --no-edit"
alias gd="git diff -w --diff-filter=M"
alias gds="git diff -w --diff-filter=M --stat"
alias gdc="git diff -w --diff-filter=M --cached"
alias gs="git stash push"
alias gsp="git stash pop"
alias gsa="git stash apply"
alias gch="git checkout"
alias gun="git checkout ."
alias gb="git branch"
alias gcp="git cherry-pick"
alias gmas="git checkout master"
alias gr="git reset"
alias gra="git rebase --abort"
alias grc="git rebase --continue"
alias grm="git rebase master"
alias gm="git merge"
alias gma="git merge --abort"
alias ga="git add"
alias gnb="git checkout -b"
alias gpu="git push -u origin"
alias gbd="git branch -d"
alias gbl="git branch -l"
alias rmo="find . -name '*.orig' -delete"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment