feat(git.config): change defalt commit command alias to cz (commitizen - commit generator)
adding commitizen commit generator for easier way commit anything with auto-validation by conventional commits rules re #20master
parent
f9f7ac98d6
commit
fb93fae4be
|
|
@ -2,13 +2,18 @@
|
||||||
email = zukkamil.44@gmail.com
|
email = zukkamil.44@gmail.com
|
||||||
name = TBS093A
|
name = TBS093A
|
||||||
|
|
||||||
|
[core]
|
||||||
|
editor = nano
|
||||||
|
|
||||||
[alias]
|
[alias]
|
||||||
lg = log --all --decorate --oneline --graph
|
lg = log --all --decorate --oneline --graph
|
||||||
lg0 = 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)' --all
|
lg0 = 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)' --all
|
||||||
lg1 = 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)'
|
lg1 = 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)'
|
||||||
|
|
||||||
cmm = !git add . && git commit -m
|
# cmm = !git add . && git commit -m
|
||||||
cmma = !git add . && git commit --amend -m
|
cmm = !git add . && git cz
|
||||||
|
# cmma = !git add . && git commit --amend -m
|
||||||
|
cmma = !git add . && git cz --amend
|
||||||
|
|
||||||
rsft = !git reset --soft
|
rsft = !git reset --soft
|
||||||
rhrd = !git reset --hard
|
rhrd = !git reset --hard
|
||||||
|
|
@ -27,4 +32,4 @@ pshalltg = !git push --tags
|
||||||
pshmrr = !git push --mirror
|
pshmrr = !git push --mirror
|
||||||
|
|
||||||
rmtadd = !git remote add
|
rmtadd = !git remote add
|
||||||
rmtsturl = !git remote set-url --add
|
rmtsturl = !git remote set-url --add
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue