-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
37 lines (36 loc) · 1.06 KB
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[user]
name=Karolis Grinkevičius
email=k.grinkevicius@gmail.com
[core]
editor=/usr/local/bin/vim
pager = diff-so-fancy | less --tabs=4 -RFX
[credential]
helper=osxkeychain
[alias]
ready=!git checkout master && git pull && git checkout - && git rebase master
distance=!git rev-list origin/master.. --count
squash=!git rebase --interactive HEAD~`git rev-list origin/master.. --count`
cmp = "!f() { git add -A && git commit -m \"$@\" --no-verify && git push -f --no-verify origin HEAD; }; f"
cbr = "!f() { git checkout master && git fetch && git branch -D \"$1\" && git checkout \"$1\"; }; f"
master = !git checkout master && git pull origin
gbr=!git branch | grep -v "master" | xargs git branch -D
[color]
ui = true
[pull]
rebase = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = yellow
frag = magenta bold
commit = yellow bold
old = red bold
new = green bold
whitespace = red reverse
[diff-so-fancy]
stripLeadingSymbols = false
[diff]
context = 0