2 stable releases
1.1.0 | Mar 28, 2024 |
---|---|
1.0.0 | Mar 28, 2024 |
#1773 in Command line utilities
17KB
146 lines
git-upstream
A shortcut for git push --set-upstream "$(git remote)" "$(git rev-parse --abbrev-ref HEAD)"
.
Usage: git-upstream [--fail-fast] [--branch BRANCH] [--remote REMOTE]
.
Unless --fail-fast
is given, all remotes are tried until one succeeds.
Dependencies
~9–23MB
~292K SLoC