Skip to content

Instantly share code, notes, and snippets.

@davemo
Last active April 12, 2016 14:45
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davemo/3762576 to your computer and use it in GitHub Desktop.
Save davemo/3762576 to your computer and use it in GitHub Desktop.
Git Config
[user]
name = David Mosher
email = davidmosher@gmail.com
[core]
autocrlf = input
safecrlf = false
editor = vim
excludesFile = /Users/davidmosher/.gitignore_global
[github]
user = davemo
[alias]
co = checkout
ci = commit
st = status
br = branch
hist = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
lo = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
ln = log --name-status
type = cat-file -t
dump = cat-file -p
up = "!git remote update -p; git merge --ff-only @{u}"
[color]
ui = auto
[push]
default = current
[merge]
tool = p4merge
keepBackup = false
[mergetool "p4merge"]
cmd = p4merge "$BASE" "$LOCAL" "$REMOTE" "$MERGED"
keepTemporaries = false
trustExitCode = false
keepBackup = false
[branch]
autosetuprebase = always
[rerere]
enabled = true
[diff]
renames = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment