Skip to content

Instantly share code, notes, and snippets.

@rodrigozrusso
Created February 4, 2021 13:50
Show Gist options
  • Save rodrigozrusso/33472a28c24bd4053e80c6fc920859be to your computer and use it in GitHub Desktop.
Save rodrigozrusso/33472a28c24bd4053e80c6fc920859be to your computer and use it in GitHub Desktop.
Git config
[user]
name = <add-your-name>
email = <add-your-email>
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol
[alias]
st = status
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
# Show files ignored by git:
ign = ls-files -o -i --exclude-standard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment