Skip to content

Instantly share code, notes, and snippets.

@johnskopis
Created May 30, 2014 01:53
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 johnskopis/d12d970740533d123a2b to your computer and use it in GitHub Desktop.
Save johnskopis/d12d970740533d123a2b to your computer and use it in GitHub Desktop.
user]
name = John Skopis
email = jskopis@twitter.com
[branch]
autosetupmerge = true
autosetuprebase = always
[alias]
st = status
ci = commit -v
br = branch
co = checkout
df = diff
lg = log --date=short --graph --pretty=format:'%Cred%h%Creset - %s %Cgreen(%cr) %C(bold blue)<%an>%C(yellow)%d%Creset' --abbrev-commit
# lag = log --date=local --graph --pretty=format:'%Cred%h%Creset - %s %C(bold blue)<%an> %Cgreen(%cD)%C(yellow)%d%Creset' --abbrev-commit
lag = log --date=local --graph --pretty=format:'%Cred%h%Creset - %s %C(bold blue)<%an> %Cgreen(%cd)%C(yellow)%d%Creset' --abbrev-commit
dtag = !git tag release-`date \"+%Y%m%d%H%M\"`
m = merge --ff-only HEAD
p = pull --rebase
sha1 = rev-parse HEAD
su = submodule update --init
staged = diff --cached
patch = add --patch
amend = commit --amend
d = difftool
[color]
ui = auto
#[http]
# sslcainfo = /opt/local/share/curl/curl-ca-bundle.crt
[core]
excludesfile = /Users/jskopis/.gitignore
[diff]
tool = vimdiff
[difftool]
prompt = false
[push]
default = simple
[mergetool]
keepBackup = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment