Skip to content

Instantly share code, notes, and snippets.

@jdavisonc
Last active December 19, 2015 21:49
Show Gist options
  • Save jdavisonc/6022928 to your computer and use it in GitHub Desktop.
Save jdavisonc/6022928 to your computer and use it in GitHub Desktop.
Git configuration
[user]
name = ****
email = ****
[github]
user = ****
token = ****
[push]
default = matching
[core]
excludesfile = ~/.gitignore_global
[diff]
tool = vimdiff
[merge]
tool = vimdiff
ff = false
[alias]
d = difftool
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
create-pull-request = !sh -c 'stash pull-request $0'
co = checkout
br = branch
ci = commit
st = status
last = log -1 HEAD
nb = checkout -b
sl = stash list
sa = stash apply
ss = stash save
[color]
ui = true
[difftool]
prompt = false
*~
.DS_Store
.settings
.classpath
.project
bin/
target/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment