-
Notifications
You must be signed in to change notification settings - Fork 2
/
.gitconfig
19 lines (19 loc) · 840 Bytes
/
.gitconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[alias]
hide = update-index --assume-unchanged
unhide = update-index --no-assume-unchanged
co = commit
st = status
ch = checkout
di = diff --color-words
br = branch
ph = push
pl = pull
cob = checkout -b
cm = !git add -A && git commit -m
fc = !git fetch && git checkout
save = !git add -A && git commit -m 'SAVEPOINT'
wip = commit -am "WIP"
fire = !git save && git ph
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"