-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
executable file
·71 lines (53 loc) · 1.44 KB
/
.gitconfig
File metadata and controls
executable file
·71 lines (53 loc) · 1.44 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
[user]
name = nerdyman
email = averynerdyman@gmail.com
[core]
editor = nvim
ignorecase = false
pager = delta
[alias]
addp = !git add --intent-to-add "$@" && git add --patch "$@"
chekcout = checkout
checout = checkout
ck = checkout
psh = push
diff-prev = diff HEAD~1..HEAD
fetcharoo = fetch
history = log --follow -p --
lg = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
undo = reset --soft HEAD^
unpushed = "log @{u}.."
[init]
defaultBranch = main
[help]
autocorrect = 10
[column]
[branch]
sort = -committerdate
[tag]
sort = version:refname
[interactive]
diffFilter = delta --color-only
[delta]
navigate = true # use n and N to move between diff sections
[log]
date = iso-local
[commit]
verbose = true
[merge]
conflictstyle = diff3
[diff]
colorMoved = default
[rebase]
autoSquash = true
autoStash = true
updateRefs = true
[rerere]
enabled = true
[push]
autoSetupRemote = true
# Conditionally include work config
[includeIf "gitdir:~/Documents/projects/work/"]
path = ~/.gitconfig.work
# vim: ts=2 sw=2 et