-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitconfig
More file actions
26 lines (26 loc) · 1.03 KB
/
.gitconfig
File metadata and controls
26 lines (26 loc) · 1.03 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
[alias]
lg1 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all
lg = !"git lg1"
s = "status -s"
ss = "status"
d = "diff"
a = "add"
l = "log --decorate-refs-exclude='*1.0.0.master*'"
lo = "log --oneline --decorate-refs-exclude='*1.0.0.master*'"
ls = log --decorate --graph --date=relative --format=tformat:'%C(auto)%h%d%C(reset) %C(dim white)%an, %ad%C(reset)%n%w(80,2,2)%s'
[push]
default = simple
[color "diff"]
# meta = 227
frag = magenta bold
# commit = 227 bold
old = red bold
new = green bold
whitespace = red reverse
[url "ssh://git@github.com"]
insteadOf = https://github.com
[pull]
ff = only
[init]
defaultBranch = main