Skip to content

Instantly share code, notes, and snippets.

@hoblin
Created September 4, 2018 09:22
Show Gist options
  • Save hoblin/7eea8573ed39791292471f226096d2bd to your computer and use it in GitHub Desktop.
Save hoblin/7eea8573ed39791292471f226096d2bd to your computer and use it in GitHub Desktop.
Some handy git config stuff
[color]
status = auto
diff = auto
branch = auto
[alias]
st = status
ci = commit
co = checkout
fp = format-patch
br = branch
cp = cherry-pick
[core]
excludesfile = ~/.gitignore
quotepath = false
editor = vim
[merge]
tool = opendiff
[format]
pretty = format:%Cgreen%h%Creset - %Cgreen(%cd) %C(bold blue)<%an>%Creset %s %C(yellow)%d%Creset
[log]
date = short
[help]
format = web
[push]
default = simple
[rerere]
enabled = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment