-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathgitconfig
More file actions
85 lines (81 loc) · 2.24 KB
/
gitconfig
File metadata and controls
85 lines (81 loc) · 2.24 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
[core]
# search for core.pager in
# <http://www.kernel.org/pub/software/scm/git/docs/git-config.html>
# to see why we use this convoluted syntax
pager = less -$LESS -SFRX -SR
; pager = delta
excludesfile = ~/.gitignore_global
autocrlf = input
# http://stackoverflow.com/questions/18257622/why-is-git-core-preloadindex-default-value-false
preloadindex = true
deltabasecachelimit = 4g
fsmonitor = true
[color]
ui = true
[user]
name = Arun Seehra
email = seehra.a@gmail.com
[alias]
st = status
stu = status -u
ci = commit
cis = commit --squash
cif = commit --fixup
co = checkout
hist = log --pretty=format:\"%C(auto) %h %ad | %s [%an] %d\" --graph --date=short
hista = log --pretty=format:\"%C(auto) %h %ad | %s [%an] %d\" --graph --date=short --all
rbi = rebase -ir --autosquash
rbc = rebase --continue
rba = rebase --abort
br = branch
dump = cat-file -p
type = cat-file -t
hub = "!GitHub.zsh"
lg = log --oneline --all --graph --decorate
br-cleanup = !git remote prune origin && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -d
br-cleanup-f = !git remote prune origin && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D
pushfff = push --force-with-lease
br-fetch = "!rf() { git config --add remote.origin.fetch +refs/heads/$1:refs/remotes/origin/$1 ; git fetch origin +$1:refs/remotes/origin/$1 ; } ; rf"
br-purge = "!rp() { git config --unset remote.origin.fetch \".*$1.*\" ; git update-ref -d refs/remotes/origin/$1 ; } ; rp"
start = commit --allow-empty -m \"[ci skip] Start\"
pr = "!gh pr view -w"
pr-create = "!gh pr create -w"
[push]
default = simple
[diff]
submodule = log
algorithm = histogram
colorMoved = default
[status]
submoduleSummary = true
showUntrackedFiles = no
[fetch]
prune = true
[pull]
rebase = false
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[feature]
manyfiles = true
[help]
autocorrect = 9
[blame]
ignoreRevsFile = .git-blame-ignore-revs
[index]
threads = true
[checkout]
workers = -1
[interactive]
diffFilter = delta --color-only
; [delta]
; navigate = true
; light = false
[rerere]
enabled = false
[merge]
conflictstyle = zdiff3
[includeIf "gitdir:~/stripe/**"]
path = ~/.dotfiles/gitconfig.work