Skip to content

Instantly share code, notes, and snippets.

@jamespantalones
Forked from brittharr/.gitconfig
Created October 25, 2017 20:43
Show Gist options
  • Save jamespantalones/792448a1dea1b976a2d9314a3d67c8e4 to your computer and use it in GitHub Desktop.
Save jamespantalones/792448a1dea1b976a2d9314a3d67c8e4 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