-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitconfig
52 lines (52 loc) · 1.18 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
[user]
name = Chris Reeves
email = [email protected]
[core]
editor = nvim
filemode = false
[alias]
co = checkout
cobr = checkout -B
br = branch
cm = commit
st = status
ap = add -p
ammend = commit --amend
unstage = reset HEAD --
last = log -1 HEAD
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an %ae>%Creset' --abbrev-commit
up = pull
lt = describe --tags --abbrev=0
pl = "!git pull origin \"$(git symbolic-ref --short HEAD)\""
ph = "!git push origin \"$(git symbolic-ref --short HEAD)\""
[color]
ui = auto
[color "diff"]
meta = blue bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = green
changed = yellow
untracked = red
[hub]
protocol = https
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
required = true
process = git-lfs filter-process
[rebase]
autoStash = true
[pull]
rebase = true
[url "[email protected]:"]
insteadOf = https://gitlab.com/
[url "[email protected]:"]
insteadOf = http://github.com/
insteadOf = https://github.com/
insteadOf = git://github.com/
insteadOf = git+ssh://github.com/
[init]
defaultBranch = main