-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
30 lines (28 loc) · 831 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
[user]
name = Eugene Molotov
email = [email protected]
signingkey = 6366EB6832F50589132FFE63D656FCE7543D05F9
[core]
editor = emacs
[commit]
gpgsign = true
[gpg]
program = gpg2
[alias]
rv = remote -v
s = status
c = commit --no-gpg-sign
cf = commit --no-gpg-sign --fixup
cn = commit --no-verify
dc = diff --cached
lfcp = log --format=format:%H --reverse # lfcp = log for cherry-pick
rih2 = rebase -i HEAD~2
cpc = cherry-pick --continue
cpa = cherry-pick --abort
cp = cherry-pick
cb = rev-parse --abbrev-ref HEAD # cb = current branch
dff = "!f() { git diff \"$1^\" \"$1\"; }; f"
dffn = "!f() { git diff --name-status \"$1^\" \"$1\"; }; f"
cmsave = commit -m "saved" --no-gpg-sign
[pull]
rebase = false