Azure Git Portal, Branching, Commit, Push and Pull Request Issue
I received this error. Tell me why?
Failed to push to the remote repository. See the Output window for more details. Error encountered while pushing to the remote repository: Failed to push to the remote repository. See the Output window for more details.
Am I doing something wrong?
- First I am checking where am I? Current branch
git branch
It shown me - I am in master branch
- Then get lattes changes and sync my master
After that make some changes in master
- Then I create a new local branch
git branch -c dev/myLocalBranch
and all pending changes was copy into new branch also git checkout dev/myLocalBranch
Check again where am I? I am in new branch git branch
Staging all changes
Commit
Pull
Here gives error: "Failed to push to the remote repository. See the Output window for more details. Error encountered while pushing to the remote repository: Failed to push to the remote repository. See the Output window for more details."
Why? I pushed into "myLocalBranch" only? It seems want to push into remote master?
- Sync
Again, give me the same error.
I do create pull request from Azure. This mean. I saw my commits. Even it is not pushed.
Now in my local branch I see 1 for pushing (it is prepared for pushing). How to push in my local branch only?
Show me how to push to my local branch. My local branch does not have any rule for pull request. Or it is problem with Azure option?