np fails to create tag and add changes to git when versioning nested package.json
Description
When trying to version an Angular library that is inside and Angular workspace (mono-repo) np fails to add changes and create a tag in git.
The first np command (on the top level package.json in step 8) succeeds but second np command (in the nested package-json in step 10) fails.
Steps to reproduce
mkdir np-issue-nested-package-jsoncd np-issue-nested-package-json/ng new np-issue-workspace --createApplication=falsecd np-issue-workspace/ng g library np-issue-library-with-package-jsongit add .git commit -m "Initial commit"np patch --any-branch --yolo --no-publishcd projects/np-issue-library-with-package-json/np patch --any-branch --yolo --no-publish
Expected behavior
I would have expected Step 10. to succeed when versioning the nested package.json but no tag is created. The package.json in versioned but not commited.
Here is the result of the first np command run in Step 8.

Here is the result of the second np command run in Step 9.

Environment
np - 5.1.0 Node.js - 10.16.3 npm - 6.9.0 Git - 2.17.1 OS - Ubuntu 18.04.3
The error seems to be related with not having an upstream branch. Could you give us any more information on that?