-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitconfig
More file actions
96 lines (96 loc) · 2.05 KB
/
gitconfig
File metadata and controls
96 lines (96 loc) · 2.05 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[core]
pager = less -R
excludesfile = ~/.gitignore
quotepath = false
autocrlf = input
[color]
ui = auto
[user]
name = Tibor Claassen
email = tc@codebeige.net
signingkey = ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINgtyvoMbx47fbf7BAjV5kDb/WjbOF4jRSmO1Zon9xbr
[alias]
aa = add --all amend = commit --amend
br = branch
ci = commit
cia = commit --amend
clear = reset --hard
co = checkout
cp = cherry-pick
dc = diff --cached
dt = difftool
fix = commit --fixup
l = pull
ll = !git fetch && git reset --hard origin/$(current_branch)
mt = mergetool
p = push
pp = push -f
rb = rebase
rba = rebase --abort
rbc = rebase --continue
rbi = rebase --interactive
rbia = rebase --interactive --autosquash
rbs = rebase --skip
rl = reflog
rp = remote prune
rs = remote show
rt = remote
ru = remote update
sb = show-branch
sm = !git switch $(git_main_branch)
squ = commit --squash
st = status
staged = diff --cached
x = reset --soft
xm = reset --mixed
xx = reset --hard
u = restore
c = commit
ca = commit --verbose --all --amend
cc = commit --verbose --all
s = switch
ss = switch --create
wip = "!git add -A; git rm $(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign --message \"--wip-- [skip ci]\""
unwip = !git rev-list --max-count=1 --format=\"%s\" HEAD | grep -q \"\\--wip--\" && git reset HEAD~1
[push]
default = simple
autoSetupRemote = true
[merge]
tool = nvim
conflictstyle = diff3
[github]
user = codebeige
[diff]
tool = vimdiff
[mergetool]
prompt = false
keepBackup = false
[mergetool "nvim"]
cmd = nvim -c 'Gdiffsplit!' \"$MERGED\"
prompt = false
keepBackup = false
[difftool]
prompt = false
[include]
path = ~/.gitenv
[pull]
rebase = true
[init]
defaultBranch = main
[gpg]
format = ssh
[commit]
gpgsign = true
[tag]
gpgsign = true
[rebase]
autosquash = true
autoStash = true
[gpg "ssh"]
program = /Applications/1Password.app/Contents/MacOS/op-ssh-sign
[credential]
helper = /usr/local/share/gcm-core/git-credential-manager
[credential "https://dev.azure.com"]
useHttpPath = true
[branch]
autoSetupRebase = always