Skip to content

Instantly share code, notes, and snippets.

@dm-z
Last active March 1, 2018 22:30
Show Gist options
  • Save dm-z/118cb1148b13e20aec1b7ca3dfae66ee to your computer and use it in GitHub Desktop.
Save dm-z/118cb1148b13e20aec1b7ca3dfae66ee to your computer and use it in GitHub Desktop.
abbr -a gchm git checkout master
abbr -a rb review-branch
abbr -a g git
abbr -a ga git add
abbr -a gaa git add --all
abbr -a gapa git add --patch
abbr -a gba git branch -a -v
abbr -a gb git branch
abbr -a gc git commit -v
abbr -a gc! git commit -v --amend
abbr -a gca git commit -v -a
abbr -a gca! git commit -v -a --amend
abbr -a gcmsg git commit -m
abbr -a gco git checkout
abbr -a gcount git shortlog -sn
abbr -a gcp git cherry-pick
abbr -a gd git diff
abbr -a gdca git diff --cached
abbr -a gff git flow feature
abbr -a gfr git flow release
abbr -a gfh git flow hotfix
abbr -a gfs git flow support
abbr -a gignore git update-index --assume-unchanged
abbr -a gk gitk --all --branches
abbr -a gl git pull
abbr -a glg git log --stat --max-count=10
abbr -a glgg git log --graph --max-count=10
abbr -a glgga git log --graph --decorate --all
abbr -a glo git log --oneline --decorate --color
abbr -a glog git log --oneline --decorate --color --graph
abbr -a gm git merge
abbr -a gmt git mergetool --no-prompt
abbr -a gp git push
abbr -a gr git remote
abbr -a grba git rebase --abort
abbr -a grbc git rebase --continue
abbr -a grbi git rebase --interactive
abbr -a grbm git rebase master
abbr -a grbs git rebase --skip
abbr -a grh git reset HEAD
abbr -a grhh git reset HEAD --hard
abbr -a grmv git remote rename
abbr -a grrm git remote remove
abbr -a grset git remote set-url
abbr -a grup git remote update
abbr -a grv git remote -v
abbr -a gsd git svn dcommit
abbr -a gsr git svn rebase
abbr -a gss git status -s
abbr -a gst git status
abbr -a gsta git stash
abbr -a gstd git stash drop
abbr -a gstp git stash pop
abbr -a gsts git stash show --text
abbr -a gunignore git update-index --no-assume-unchanged
abbr -a gup git pull --rebase
abbr -a gwch git whatchanged -p --abbrev-commit --pretty=medium
set -U fish_prompt_pwd_dir_length 0
set -e LC_CTYPE
set -x LANG en_US.UTF-8
alias mvim "open -a MacVim"
alias vim='/Applications/MacVim.app/Contents/MacOS/Vim'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment