git alias -> some fixes
parent
cde78a0aa5
commit
df448afff8
17
.gitconfig
17
.gitconfig
|
|
@ -7,12 +7,15 @@ 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 $1
|
cmm = !git add . && git commit -m
|
||||||
cmma = !git add . && git commit --amend -m $1
|
cmma = !git add . && git commit --amend -m
|
||||||
|
|
||||||
sqshmsg = !git reset --soft HEAD~$1 && git commit -m $2
|
rsft = !git reset --soft
|
||||||
sqsh = !git reset --soft HEAD~$1 && git commit --edit -m"$(git log --format=%B --reverse HEAD..HEAD@{1})"
|
rhrd = !git reset --hard
|
||||||
|
|
||||||
pshall = !git push $1 --all
|
sqshmsg = !git reset --soft HEAD~$1 && git commit -m
|
||||||
pshalltags = !git push $1 --tags
|
sqsh = !git reset --soft HEAD~$1 && git commit --edit -m"$(git log --format=%B --reverse HEAD..HEAD@{1})" :
|
||||||
pshmirror = !git push $1 --mirror
|
|
||||||
|
pshallbr = !git push --all
|
||||||
|
pshalltg = !git push --tags
|
||||||
|
pshmrr = !git push --mirror
|
||||||
Loading…
Reference in New Issue