32 lines
1.3 KiB
INI
32 lines
1.3 KiB
INI
[alias]
|
|
aa = add --all
|
|
b = branch -v
|
|
bd = branch -d
|
|
bD = branch -D
|
|
br = branch
|
|
ci = commit
|
|
cim = commit -m
|
|
cima = commit -am
|
|
clr = rm -r --cached
|
|
co = checkout
|
|
cp = cherry-pick -x
|
|
d = diff -w
|
|
dc = diff --cached
|
|
nb = checkout -b
|
|
oups = commit --amend --no-edit
|
|
r = remote -v
|
|
rh = reset --hard
|
|
st = status -sb
|
|
t = tag -l
|
|
unstage = reset HEAD
|
|
uncommit = reset --soft HEAD^
|
|
pushfl = push --force-with-lease
|
|
lg = lg1
|
|
lg1 = lg1-specific --all
|
|
lg2 = lg2-specific --all
|
|
lg3 = lg3-specific --all
|
|
|
|
lg1-specific = 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(auto)%d%C(reset)'
|
|
lg2-specific = 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(auto)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)'
|
|
lg3-specific = 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 cyan)(committed: %cD)%C(reset) %C(auto)%d%C(reset)%n'' %C(white)%s%C(reset)%n'' %C(dim white)- %an <%ae> %C(reset) %C(dim white)(committer: %cn <%ce>)%C(reset)'
|