Closed danielmconrad closed 9 years ago
My original approach was to pass it in as an argument: npub publish minor -r upstream
or something similar. But since 95% of the time the current branch is tracking the appropriate remote, it would work in cases where you're working in a private or an org-based repo.
Any chance to test this?
Tested. Seems to work well. Thanks!
published in 2.2.0
We sometimes use a remote other than origin for our repo. This will look at the current branch and the remote branch it's tracking.