rochejul / npmversion

A command line node module to deal with "bumping" and "npm version"
MIT License
8 stars 2 forks source link

Deal with upstream branch #4

Closed rochejul closed 7 years ago

rochejul commented 7 years ago

Deal with this kind of issues:

fatal: The current branch releases/1.0.0 has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream origin releases/1.0.0

Error: Command failed: C:\windows\system32\cmd.exe /s /c "git push"
fatal: The current branch releases/1.0.0 has no upstream branch.
To push the current branch and set the remote as upstream, use

    git push --set-upstream origin releases/1.0.0

    at ChildProcess.exithandler (child_process.js:213:12)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:829:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)