Skip to content

Instantly share code, notes, and snippets.



Last active Nov 4, 2020
What would you like to do?
.gitconfig file
name = José J. Peleato Pradel
email =
ui = auto
[color "branch"]
current = yellow bold
local = green bold
remote = cyan bold
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = green bold
changed = yellow bold
untracked = red bold
last = log -1 --stat
cp = cherry-pick
co = checkout
cl = clone
ci = commit
st = status -sb
br = branch
refresh = fetch -ap
unstage = reset HEAD --
undo = reset --hard HEAD~1
dc = diff --cached
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %Cblue<%an>%Creset' --abbrev-commit --date=relative --all
find = log --pretty=\"format:%Cgreen%H %Cblue%s\" --name-status --grep
addu = add -u
helper = cache --timeout=3600
filemode = false
rebase = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment