Skip to content

Instantly share code, notes, and snippets.

@pmcfadden
Created June 27, 2017 15:18
Show Gist options
  • Save pmcfadden/8a03eb3c54372d003f41411b863c3ffd to your computer and use it in GitHub Desktop.
Save pmcfadden/8a03eb3c54372d003f41411b863c3ffd to your computer and use it in GitHub Desktop.
[user]
name =
email =
[color]
ui = true
[color "status"]
added = yellow bold
changed = green bold
untracked = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[format]
pretty = format:"%h %C(yellow)%ci%Creset %Cgreen%an%Creset | %s"
[core]
editor = vim
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
st = status
ci = commit
co = checkout
br = branch
cp = "cherry-pick"
dc = "diff --cached"
unstage = reset HEAD --
pr = "pull --rebase"
[push]
default = simple
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment