-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
52 lines (43 loc) · 1.05 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
[user]
name = Beat Scherrer
[core]
editor = vim
hooksPath = ~/.git_hooks
[alias]
co = checkout
ci = commit
st = status -s
br = branch
pl = pull
pa = pull --recurse-submodules
fa = fetch --all
cs = clone --recursive -b
lg = log -20 --oneline --abbrev-commit --pretty=format:\"%h %ad | %s%d [%an]\" --date=short
hist = log -20 --graph --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
type = cat-file -t
dump = cat-file -p
subup = submodule update --init --recursive
last = log -1 HEAD
unstage = reset HEAD --
mh = merge -Xignore-space-change -Xrename-threshold=25
unpushed = log --branches --not --remotes --no-walk --decorate --oneline
[push]
default = simple
[merge]
tool = vimdiff
[mergetool]
prompt = false
keepBackup = false
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[diff]
tool = vimdiff
prompt = false
[difftool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE
[init]
defaultBranch = main
[pack]
windowMemory = 100m
packSizeLimit = 100m
threads = 1