Skip to content

Instantly share code, notes, and snippets.

@abriening
Created September 24, 2010 17:58
Show Gist options
  • Save abriening/595762 to your computer and use it in GitHub Desktop.
Save abriening/595762 to your computer and use it in GitHub Desktop.
[user]
name =
email =
[github]
user =
token =
[sendemail]
smtpuser =
smtpencryption = tls
smtpserver = smtp.gmail.com
smtpserverport = 587
[color]
diff = auto
status = auto
branch = auto
[merge]
summary = true
[alias]
st = status -s
co = checkout
datetag = !git tag release-`date -u +%Y-%m-%dT%H.%M.%S`
save = !git add . && git commit -a -m"WIP"
restore = !git reset --soft HEAD^ && git reset
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold cyan)<%an>%Creset' --abbrev-commit --date=relative
lp = log -p
lns = log --name-status
amend = commit --amend -C HEAD
x = !gitx
[diff "ruby"]
funcname = ^ *\\(\\(class\\|module\\|def\\) .*\\)
[apply]
whitespace = fix
[rerere]
enabled = 1
[core]
excludesfile = ~/.gitignore_global
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment