Skip to content

Instantly share code, notes, and snippets.

@sbilstein sbilstein/.gitconfig
Last active Aug 29, 2015

What would you like to do?
helper = osxkeychain
excludesfile = ~/.gitexcludes
autosetuprebase = always
rem = rebase origin/master
co = checkout
br = branch
ci = commit
st = status -s
unstage = reset HEAD --
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
changes = diff --name-status -r
conflicts = diff --name-only --diff-filter=U
diffstat = diff --stat -r
cb = rev-parse --abbrev-ref HEAD
update = "!git remote update -p; git merge --ff-only @{u}"
search = "!f() { git grep -In $1 -- $2; }; f"
tfo = reset --hard
sync = push -u origin HEAD
diff = auto
status = auto
branch = auto
tool = diff
prompt = false
prompt = false
tool = vimdiff
enabled = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.