-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
43 lines (33 loc) 路 945 Bytes
/
Copy path.gitconfig
File metadata and controls
43 lines (33 loc) 路 945 Bytes
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
38
39
40
41
42
43
[user]
name =
email =
[core]
editor = vim
pager = less -x2R
excludesfile = ~/.gitignore
[color]
ui = auto
[credential]
helper = osxkeychain
[merge]
tool = gvimdiff
gpgsign = true
[diff]
tool = gvimdiff
[commit]
gpgSign = true
[gpg]
program = /usr/local/bin/krgpg
[tag]
forceSignAnnotated = true
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
[alias]
bl = "!bash -c 'for k in `git branch|sed s/^..//`;do echo -e `git log -1 --pretty=format:\"%Cgreen%ci %Cblue%cr%Creset\" \"$k\" --`\t\"$k\";done|sort'"
eum = "!f() { git diff --name-status --diff-filter=U | cut -f2 ; }; mvim `f`"
aum = "!f() { git diff --name-status --diff-filter=U | cut -f2 ; }; git add `f`"
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
wc = log ORIG_HEAD.. --stat --no-merges
yd = diff "@{yesterday}"