Instantly share code, notes, and snippets.

Embed
What would you like to do?
An example of gitconfig
credential.helper=osxkeychain
user.email= //
user.name= //
user.signingkey= //
help.autocorrect=0
diff.tool=default-difftool
difftool.default-difftool.cmd='sublime' --wait
core.editor=sublime --wait
core.excludesfile=fullpathto/.gitignore_global //
core.ignorecase=false
core.pager=diff-so-fancy | less --tabs=4 -RFX
push.default=current
alias.aa=add
alias.st=status
alias.co=checkout
alias.ci=commit
alias.cl=clone
alias.ps=push
alias.br=branch
alias.pl=pull
alias.hist=log --pretty=format:"%h %ad | %s%d [%an]" --graph --date=short
alias.type=cat-file -t
alias.dump=cat-file -p
color.ui=true
color.diff-highlight.oldnormal=red bold
color.diff-highlight.oldhighlight=red bold 52
color.diff-highlight.newnormal=green bold
color.diff-highlight.newhighlight=green bold 22
color.diff.meta=yellow
color.diff.frag=magenta bold
color.diff.commit=yellow bold
color.diff.old=red bold
color.diff.new=green bold
color.diff.whitespace=red reverse
gpg.program=gpg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment