forked from jmhobbs/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgitconfig.symlink
43 lines (43 loc) · 1.12 KB
/
gitconfig.symlink
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 = John Hobbs
email = [email protected]
signingKey = 0xF79C72E6EDC70E38
[core]
editor = vim
[color]
ui = true
[color "status"]
added = green
changed = yellow bold
untracked = red bold
[color "diff"]
whitespace = red reverse
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[commit]
gpgSign = true
[log]
decorate = true
showSignature = true
[alias]
glog = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
wdiff = diff --word-diff
slong = git status --long
unlockremote = "!f() { REMOTE=\"$1\"; if [ \"$1\" == \"\" ]; then REMOTE=\"upstream\"; fi; git config --unset \"remote.$REMOTE.pushurl\"; }; f"
lockremote = "!f() { REMOTE=\"$1\"; if [ \"$1\" == \"\" ]; then REMOTE=\"upstream\"; fi; git config \"remote.$REMOTE.pushurl\" no_push; }; f"
nah = !git reset --hard && git clean -df
[rerere]
enabled = 1
[push]
default = simple
[status]
short = true
branch = true
[pull]
rebase = true
[merge]
conflictstyle = diff3
verifySignatures = true