-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
74 lines (68 loc) · 1.68 KB
/
.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[includeIf "gitdir:~/"]
path = .gitconfig-personal
[includeIf "gitdir:~/src/sp/"]
path = .gitconfig-spotify
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr %ci)%Creset' --abbrev-commit --date=relative
st = status
s = status --short
co = checkout
br = branch
ci = commit
a = add
pom = push origin master
amend = commit --amend -C HEAD
ff = merge --ff-only
push-review = !sh -c 'git push origin HEAD:refs/for/`git symbolic-ref refs/remotes/origin/HEAD|cut -d/ -f4-`/`git rev-parse --abbrev-ref HEAD`'
push-draft = !sh -c 'git push origin HEAD:refs/drafts/`git symbolic-ref refs/remotes/origin/HEAD|cut -d/ -f4-`/`git rev-parse --abbrev-ref HEAD`'
[color]
diff = auto
status = auto
branch = auto
interactive = auto
ui = true
pager = true
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
[core]
autocrlf = input
safecrlf = true
editor = vim
[branch]
autosetuprebase = always
[push]
default = current
[github]
user = ngn
[transfer]
fsckobjects = false
[fetch]
fsckobjects = false
[receive]
fsckObjects = false
[interactive]
diffFilter = diff-highlight
[pager]
diff = diff-highlight | less
show = diff-highlight | less
log = diff-highlight | less
[gpg]
format = ssh
[user]
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICxrgMDk3csHdsQfMYex9AUIM7LqTybRnSKBomHAIlfo
[gpg "ssh"]
allowedSignersFile = /Users/ngn/.config/git/allowed_signers
program = /Users/ngn/bin/1password-ssh-keygen
[commit]
gpgsign = true