I have created a git branch from master at a certain commit that is a bit behind. I made some updates and tried to push to that specific branch.
Steps I did:
- git clone [url]
- git checkout -b [new-branch] [commit-hash]
- git add . / . git commit -m "message" / git push origin [new-branch]
After push I get the following error:
remote:
remote: Create pull request for [new-branch]:
remote: http://stash......[url]
remote:
When I try to checkout to my new branch of the staging server I get:
fatal: ambiguous argument 'origin/[new-branch]': unknown revision or path not in the working tree.
I don't know how to proceed further.