-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.gitconfig
62 lines (61 loc) · 1.88 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
[user]
name = Aaron J. Zirbes
email = [email protected]
[core]
excludesfile = /Users/z002s5d/.gitignore_global
editor = vim
[merge]
tool = vimdiff
[diff]
tool = vimdiff
[color]
ui = true
[web]
browser = macosx
[browser "macosx"]
cmd = open
[credential]
helper = osxkeychain
[push]
default = simple
[alias]
bsum = branch --set-upstream-to=upstream/main
b = branch -vv
caa = commit -a --amend
cm = checkout main
ct = checkout tap-configs
co = checkout
df = diff --relative -w --name-only upstream/main
du = diff --relative -w upstream/main
dt = diff --relative -w upstream/tap-configs
dus = diff --relative -w upstream/main --stat
dut = diff --relative -w upstream/tap-configs --stat
fa = fetch --all
l = log --relative --graph -n 100
ls = log --relative --graph --stat -n 100
pf = "!if [ `git rev-parse --abbrev-ref --symbolic-full-name '@{u}' |sed -e 's#/.*##'` != 'upstream' ]; then git push -f; else echo 'DO NOT PUSH FORCE TO UPSTREAM'; fi"
pu = push -u origin HEAD
rium = !git rebase -i `git merge-base upstream/main HEAD` && git rebase upstream/main
riuma = !git rebase -i `git merge-base upstream/master HEAD` && git rebase upstream/master
riut = !git rebase -i `git merge-base upstream/tap-configs HEAD` && git rebase upstream/tap-configs
ra = "!git remote add ${1} ``"
rt = rev-parse --symbolic-full-name --abbrev-ref HEAD@{u}
s = status
[difftool]
prompt = false
[filter "media"]
clean = git-media-clean %f
smudge = git-media-smudge %f
[hub]
host = git.target.com
host = gist.git.target.com
[pager]
diff = diff-so-fancy | less --tabs=1,5 -RFX
show = diff-so-fancy | less --tabs=1,5 -RFX
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[pull]
rebase = true