Skip to content

Instantly share code, notes, and snippets.

@brittharr
Last active December 18, 2017 17:55
Show Gist options
  • Save brittharr/6ee126aab1c6e7bee00384f3c82a0393 to your computer and use it in GitHub Desktop.
Save brittharr/6ee126aab1c6e7bee00384f3c82a0393 to your computer and use it in GitHub Desktop.
gitconfig
[core]
pager = diff-highlight | diff-so-fancy | less -r
[alias]
st = status
ci = commit
br = branch
co = checkout
unstage = reset HEAD --
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
amend = commit --amend --no-edit
pl = pull --rebase
[color]
ui = auto
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = simple
followTags = true
[credential]
helper = osxkeychain
[filter "media"]
required = true
clean = git media clean %f
smudge = git media smudge %f
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[status]
submodulesummary = 1
[help]
autocorrect = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment