/
gitconfig
49 lines (49 loc) · 1.01 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
[user]
name = Bob Nadler
email = bnadlerjr@gmail.com
[github]
user = bnadlerjr
token = !sh -c 'cat ~/.github_token'
[core]
autocrlf = false
excludesfile = ~/.gitignore_global
[color]
ui = auto
[alias]
a = add
br = branch
cane = commit --amend --no-edit
ci = commit -v
co = checkout
cob = checkout -b
conflicted = "!vim +Conflicted"
di = diff
ff = merge --ff-only
glog = log -E -i --grep
lg = log --graph --abbrev-commit --date=relative
olog = log --oneline --
pr = "!hub pull-request -o"
pushf = push --force-with-lease
st = status
[fetch]
prune = true
[format]
pretty=format:%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset
[merge]
conflictstyle = zdiff3
tool = vimdiff
[push]
autoSetupRemote = true
default = simple
[rebase]
autosquash = true
[rerere]
enabled = true
[heroku]
account = personal
[pull]
rebase = true
[init]
defaultBranch = main
[hub]
protocol = https