-
-
Save chussenot/a26c057025be21d5c52073efe119cf63 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
pager = diff-so-fancy | less --tabs=4 -RFX | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
editor = nvim -f | |
autocrlf = false | |
safecrlf = true | |
excludesfile = ~/.gitignore | |
[pull] | |
rebase = true | |
[push] | |
config = default | |
default = simple | |
[merge] | |
summary = true | |
ff = only | |
[fetch] | |
prune = true | |
[color] | |
ui = true | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = 227 | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
commit = 227 bold | |
whitespace = red reverse | |
[color "status"] | |
added = yellow | |
changed = green | |
untracked = blue | |
[alias] | |
a = add -u | |
aa = add --all :/ | |
ap = add -u -p | |
b = browse | |
c = commit -v | |
co = checkout | |
d = diff | |
ds = diff --staged | |
dw = diff --color-words | |
po = push origin head | |
pr = "!f() { git fetch origin refs/pull/$1/head:pr/$1 && git co pr/$1; } ; f" | |
s = status -s -b | |
sm = submodule | |
smu = submodule foreach git pull origin master | |
td = merge --no-ff | |
up = "!git fetch upstream && git rebase upstream/master" | |
w = whatchanged --decorate | |
wp = whatchanged --decorate -p | |
tree = log --oneline --decorate --all --graph | |
l = log --pretty='format:%C(yellow)%h %C(blue)%ad %C(reset)%s%C(red)%d %C(green)%an%C(reset), %C(cyan)%ar' --date=short | |
[user] | |
name = Clement Hussenot | |
email = chussenota@gmail.com | |
signingkey = 98FECA00D210A95E | |
[commit] | |
# https://harryrschwartz.com/2014/11/01/automatically-signing-your-git-commits.html | |
# gpgsign = true | |
[color "diff-highlight"] | |
oldNormal = red bold | |
oldHighlight = red bold 52 | |
newNormal = green bold | |
newHighlight = green bold 22 | |
[http] | |
sslVerify = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment