feat(git): add git unpushed alias

pull/1897/head
Ron Green 2021-06-17 10:27:36 +03:00
parent 2444a57cc5
commit 4ea78da79f
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ alias gbd='git branch -d'
alias gbm='git branch -m'
alias gbt='git branch --track'
alias gdel='git branch -D'
alias gbup='git log --branches --not --remotes --no-walk --decorate --oneline' # FROM https://stackoverflow.com/questions/39220870/in-git-list-names-of-branches-with-unpushed-commits
# for-each-ref
alias gbc='git for-each-ref --format="%(authorname) %09 %(if)%(HEAD)%(then)*%(else)%(refname:short)%(end) %09 %(creatordate)" refs/remotes/ --sort=authorname DESC' # FROM https://stackoverflow.com/a/58623139/10362396