-
Notifications
You must be signed in to change notification settings - Fork 0
/
gitconfig
68 lines (68 loc) · 1.52 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
[user]
name = Michael Vitz
email = [email protected]
signingkey = 0xDF21E518FE76512B
[core]
autocrlf = input
editor = vi
pager = diff-so-fancy | less --tabs=4 -R
quotepath = false
[mergetool]
tool = vimdiff
keepBackup = false
[color]
branch = auto
diff = auto
status = auto
[color "status"]
added = green
changed = yellow
untracked = red
[alias]
br = branch
branch-name = "!git rev-parse --abbrev-ref HEAD"
ci = commit
co = checkout
cob = checkout -b
di = diff
ds = diff --staged
fix = commit --amend -C HEAD
history = log --follow --patch
log-fancy = log --graph --date=human --pretty=format:'%Cred%h %C(yellow)%d%Creset %s %Cgreen(%ad) %C(cyan)<%an>%Creset' --all
please = push --force-with-lease
praise = blame
publish = "!git push -u origin $(git branch-name)"
st = status
tmp = commit --message 'Temp'
unstage = reset HEAD --
[push]
default = simple
[merge]
ff = false
[pull]
rebase = merges
[fetch]
prune = true
[commit]
gpgsign = true
verbose = true
[diff]
compactionHeuristic = true
noprefix = true
[pager]
diff = diff-so-fancy | less --tabs=4 -R --pattern '^(Date|added|deleted|modified|renamed): '
[rebase]
autostash = true
[rerere]
enabled = true
[filter "lfs"]
clean = git-lfs clean -- %f
process = git-lfs filter-process
required = true
smudge = git-lfs smudge -- %f
[includeIf "gitdir:~/Development/innoq/"]
path = ~/.dotfiles/gitconfig_innoq
[includeIf "gitdir:~/Projects/"]
path = ~/.dotfiles/gitconfig_innoq
[init]
defaultBranch = main