-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitconfig
70 lines (53 loc) · 1.58 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
[user]
name = Joshua Arulsamy
email = [email protected]
[dot-engine]
github-username = jarulsamy
github-token =
[delta]
side-by-side = true
syntax-theme = gruvbox-dark
[diff]
tool = vimdiff
[color]
diff = auto
status = auto
branch = auto
[color "status"]
added = green
changed = blue
untracked = red
[color "diff"]
meta = yellow
old = red
new = green
[core]
editor = vim
mergeoptions =
[pager]
diff = delta
log = delta
reflog = delta
show = delta
[push]
default = current
[pull]
rebase = false
[giggle]
main-window-maximized = false
main-window-geometry = 1269x839+117+89
[include]
path = .gitlocal
[alias]
lg1 = 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
lg = !"git lg1"
fixme = grep -n --heading --break --ignore-case -e 'FIX: *' -e 'FIXME: *'
todo = grep -n --heading --break --ignore-case -e 'TODO[\\w:.\\s] *'
fixmec = fixme -C 5
todoc = todo -C 5
prune-branches = !git remote prune origin && git branch -vv | grep ': gone]' | awk '{print $1}' | xargs -r git branch -D
[includeIf "gitdir:workRepos/"]
path = .gitconfig-work
[init]
defaultBranch = main