diff options
-rw-r--r-- | gitconfig | 6 | ||||
-rw-r--r-- | tigrc | 4 |
2 files changed, 4 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | [user] | 1 | [user] |
2 | email = typebrook@topo.tw | 2 | email = pham@topo.tw |
3 | name = Hsieh Chin Fan | 3 | name = Hsieh Chin Fan |
4 | signingkey = 6DD8C14A | 4 | signingkey = 6DD8C14A |
5 | 5 | ||
@@ -8,7 +8,6 @@ | |||
8 | smtpuser = pham | 8 | smtpuser = pham |
9 | smtpencryption = tls | 9 | smtpencryption = tls |
10 | smtpserverport = 587 | 10 | smtpserverport = 587 |
11 | smtpPass = `pass pham@topo.tw` | ||
12 | 11 | ||
13 | [gpg] | 12 | [gpg] |
14 | program = gpg2 | 13 | program = gpg2 |
@@ -32,9 +31,6 @@ | |||
32 | [pull] | 31 | [pull] |
33 | ff = only | 32 | ff = only |
34 | 33 | ||
35 | [credential] | ||
36 | helper = store | ||
37 | |||
38 | [filter "lfs"] | 34 | [filter "lfs"] |
39 | process = git-lfs filter-process | 35 | process = git-lfs filter-process |
40 | required = true | 36 | required = true |
@@ -184,7 +184,9 @@ bind generic pt ?git push --tags | |||
184 | bind generic pT ?git push %(remote) %(tag) | 184 | bind generic pT ?git push %(remote) %(tag) |
185 | 185 | ||
186 | # search in history | 186 | # search in history |
187 | bind main S >sh -c 'git log -G "%(prompt Search: )" --pretty=raw | tig --pretty=raw' | 187 | bind main S none |
188 | bind main Sl >sh -c 'git log -G --pretty=raw "%(prompt Lines contains: )" | tig --pretty=raw' | ||
189 | bind main Sf >sh -c 'git log --pretty=raw -- "*%(prompt Filename: )*" --pretty=raw | tig --pretty=raw' | ||
188 | 190 | ||
189 | # submodule | 191 | # submodule |
190 | bind main Zu ?>git submodule update | 192 | bind main Zu ?>git submodule update |