Skip to content

Instantly share code, notes, and snippets.

@germani
Last active March 31, 2022 02:53
Show Gist options
  • Save germani/3383035038a65f3770a8 to your computer and use it in GitHub Desktop.
Save germani/3383035038a65f3770a8 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = NAME
email = NAME@g**l.com
[core]
editor = mcedit
[alias]
st = status
ci = commit
br = branch
df = diff --ignore-space-at-eol
g = grep -np
lg = log -p
co = checkout
tree = log --graph --pretty=oneline --decorate
pom = pull --rebase origin master
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
[color]
branch = auto
diff = auto
status = auto
interactive = auto
ui = true
pager = true
[color "branch"]
current = green reverse
local = yellow
remote = cyan
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[color "grep"]
linenumber = blue bold
function = yellow
[push]
default = current
[pull]
default = current
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment