Skip to content

Instantly share code, notes, and snippets.

@jethrolarson
Created September 16, 2016 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jethrolarson/bea86668e7d0d4cf07671172f929161f to your computer and use it in GitHub Desktop.
Save jethrolarson/bea86668e7d0d4cf07671172f929161f to your computer and use it in GitHub Desktop.
[alias]
staged = diff --staged
br = branch
st = status
co = checkout
cod = checkout develop
md = merge develop
cb = checkout --track -b
ci = commit
ca = commit --amend
amend = commit --amend
cam = commit -a -m
bt = branch --track
mt = mergetool
df = diff
rhh = reset --hard HEAD
subcod = submodule foreach git checkout develop
subp = submodule foreach git pull
subu = submodule update --init --recursive
refresh = !git stash && git pull && git stash pop
new = checkout origin/develop -b
[core]
editor = vim
trustctime = false
excludesfile = /Users/jethrolarson/.gitignore
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment