-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdot_gitconfig
66 lines (66 loc) · 1.63 KB
/
dot_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
[user]
name = Gary Murray
email = [email protected]
[includeIf "gitdir:~/fanatics/"]
path = ~/.config/git/fanatics.config
[includeIf "gitdir:~/go/src/github.com/fancom-d2c-product/"]
path = ~/.config/git/fanatics.config
[includeIf "gitdir:~/go/src/jaxf-github.fanatics.corp/mdm/"]
path = ~/.config/git/fanatics.config
[core]
pager = delta
excludesFile = ~/.config/git/ignore
[interactive]
diffFilter = delta --color-only
[merge]
conflictstyle = zdiff3
[rebase]
autoSquash = true
updateRefs = true
[pull]
rebase = true
[branch]
autosetupmerge = always
autosetuprebase = always
[delta]
navigate = true
dark = true
[alias]
a = add
aa = add -A
b = branch
bd = branch -d
c = commit -v
ca = commit -v --amend
cb = checkout -b
cf = commit --fixup
co = checkout
cp = cherry-pick
cs = commit --squash
f = fetch --prune
l = log --graph --abbrev-commit --decorate --pretty=format:'%C(bold blue)%h%C(reset)%C(auto)%d%C(reset) %C(dim white)%s%C(reset) %C(bold green)%cr%C(reset) (%C(magenta)%an%C(reset))'
ll = l --reflog
nuke = !git clean -df && git reset --hard
p = pull
po = !git push origin $(git rev-parse --abbrev-ref HEAD)
pof = !git push --force-with-lease origin $(git rev-parse --abbrev-ref HEAD)
puo = !git push -u origin $(git rev-parse --abbrev-ref HEAD)
rt = !cd $(git rev-parse --show-toplevel)
s = status
so = spinoff
st = stash
stl = stash list
stm = stash -m
stp = stash pop
stu = stash -u
stum = stash -um
sw = switch
swc = switch -c
[safe]
directory = /Users/gamurray/code/neovim
[init]
defaultBranch = main
[credential]
helper = store
[advice]
detachedHead = false