-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.gitconfig
More file actions
56 lines (52 loc) · 1.48 KB
/
.gitconfig
File metadata and controls
56 lines (52 loc) · 1.48 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
[user]
[color]
branch = auto
diff = true
grep = true
ui = true
status = true
interactive = true
pager = true
showbranch = true
[color "status"]
added = green
changed = red bold
untracked = magenta bold
branch = yellow
header = cyan
[color "branch"]
remote = yellow
local = white
[color "diff"]
func = cyan bold
[alias]
co = checkout
ci = commit
colorlog = log --graph --pretty=format:'%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%cd) %C(cyan)<%an>%Creset' --abbrev-commit --date=short
colorlogrel = log --graph --pretty=format:'%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%cr) %C(cyan)<%an>%Creset' --abbrev-commit --date=relative
colortree = !git colorlog | sed -e \"s/\\([a-zA-Z]\\+\\-[0-9]\\+\\)\\:?\\+/[\\x1B[35m\\1\\x1B[0m]/g\" | less -R --use-color
colortreerel = !git colorlogrel | sed -e \"s/\\([a-zA-Z]\\+\\-[0-9]\\+\\)\\:\\?\\s+/[\\x1B[35m\\1\\x1B[0m]/g\" | less -R --use-color
ready = rebase -i @{u}
st = status
stat = status
br = branch
mr = !sh -c 'git fetch $1 merge-requests/$2/head:mr-$1-$2 && git checkout mr-$1-$2' -
coa = checkoutall
sta = statusall
bra = branchall
ma = mergeall
[push]
default = upstream
[init]
defaultBranch = main
[core]
excludesFile = ~/.gitignore
[filter "lfs"]
required = true
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
[http]
sslVerify = false
[git-all]
root = ~/src