-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitconfig
84 lines (84 loc) · 1.96 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[hub]
protocol = https
[user]
name = Josh Vera
email = [email protected]
signingkey = 5328DCC9
[credential]
helper = osxkeychain
[core]
autocrlf = input
quotepath = false
editor = code --wait
excludesfile = ~/.gitignore
fsync = committed
preloadindex = true
whitespace = blank-at-eol,space-before-tab,-blank-at-eof,tabwidth=4
pager = less -x4
[alias]
annihilate = reset --hard origin/master
bg = branch
br = branch
ci = commit
co = checkout
ctags = !.git/hooks/ctags
dump = cat-file -p
fg = checkout
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
id = !echo -n `git log -n 1 --pretty=%H` | pbcopy
last = log -1 HEAD
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
ll = log -p --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
patches = log -p --reverse
rba = rebase --abort
rbc = rebase --continue
revision = !echo `git describe` | sed -n -e \"s/-/ /g\"
st = status
staged = diff --cached
sup = submodule update --init --recursive
type = cat-file -t
uncommit = reset --soft HEAD^
unstage = reset
wtf = blame
[color]
ui = auto
whitespace = trailing-space,space-before-tab,strip
[diff]
renames = copies
tool = default-difftool
[difftool "default-difftool"]
cmd = code --wait --diff $LOCAL $REMOTE
[status]
submodulesummary = true
[branch]
autosetuprebase = always
[branch "master"]
rebase = true
[push]
default = simple
[merge]
stat = true
ff = false
[rebase]
stat = true
[pack]
windowMemory = 1g
[advice]
pushNonFastForward = false
statusHints = false
[github]
user = joshvera
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[commit]
gpgsign = false
[init]
templatedir = ~/github/dotfiles/git_template
defaultBranch = main
[rerere]
enabled = 1
[gc]
auto = 0