git: add incoming and outgoing aliases

This commit is contained in:
Guilherme Rugai Freire 2021-06-21 21:15:22 -03:00
parent 98644fd2a7
commit 0edd3efabd
No known key found for this signature in database
GPG Key ID: 86DC96AE4AEBC162

View File

@ -19,6 +19,8 @@
unstage = reset HEAD --
undo = reset --soft HEAD~1
discard = checkout --
incoming = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' ..@{u})
outgoing = !(git fetch --quiet && git log --pretty=format:'%C(yellow)%h %C(white)- %C(red)%an %C(white)- %C(cyan)%d%Creset %s %C(white)- %ar%Creset' @{u}..)
[commit]
gpgsign = true