-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
35 lines (28 loc) · 1011 Bytes
/
.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
[user]
name = Demjan Kaluzki
email = kaluzkidemjan@gmail.com
[github]
user = kaluzki
[credential]
helper = cache --timeout=3600
[alias]
lg1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
cp = cherry-pick
st = status -s
cl = clone
ci = commit
co = checkout
br = branch
di = difftool -d --cached HEAD^
# rename branch remotely
rename = "!f() { git push origin origin/$1:refs/heads/$2 :$1; } ; f"
[core]
eol = lf
autocrlf = false
whitespace = -blank-at-eol,-blank-at-eof,-space-before-tab
[url "https://github.com/"]
insteadOf = gh:/
[diff]
tool = meld