Skip to content

Instantly share code, notes, and snippets.

@tgaff
Created August 30, 2013 22:25
Show Gist options
  • Save tgaff/6394903 to your computer and use it in GitHub Desktop.
Save tgaff/6394903 to your computer and use it in GitHub Desktop.
~/.gitconfig
[core]
excludesfile = /Users/VRDeveloper/.gitignore_global
pager = less -FXRS -x2
[alias]
st = status
di = diff
co = checkout
ci = commit
br = branch
sta = stash
llog = log --date=local
flog = log --pretty=fuller --decorate
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
lol = log --graph --decorate --oneline
lola = log --graph --decorate --oneline --all
blog = log origin/master... --left-right
ds = diff --staged
fixup = commit --fixup
squash = commit --squash
unstage = reset HEAD
rum = rebase
lsd = log --graph '--pretty=tformat:%Cblue%h%Creset %Cgreen%ar (%an)%Creset %Cblue%d%Creset %s' --all --simplify-by-decoration
[apply]
whitespace = nowarn
[color]
branch = auto
diff = auto
interactive = auto
status = auto
ui = auto
[branch]
autosetupmerge = true
autosetuprebase = always
[rebase]
autosquash = true
[user]
name = Travis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment