github - Unable to push to Git Repository after adding a branch -
I have a After this I switched "Bugfixes" with Now, when I do: I have gone through several links, the Where am I going wrong? Edit Try changing the URL to No need to add Remote Not for each branch, there should be only one surname for your repository on the nickname gitub. git repository with approximately 4 branches, they
GitHub Are put on. I have recently created a new branch named "Demo 2 Full" since its creation, I am unable to push any eastern branch named "Bugfixes".
git branch demo 2 full < / Code> & amp;
GIT checkout Demo 2 full .
GIT checkout bugfix without issue.
git push origin bugfixes , I get the following error:
Error: The repository was not found. Fatal: Could not be read from the remote repository Please ensure that you have the right access rights and the repository is present.
ssh part works, and I have to remove the remote with
git remote -v .git / config and found that there are no spelling mistakes etc in the links.
Also, like having a separate entry for each branch in the config file:
git @ github-userName: userName / ProjectName_branchName.git is correct?
git@github.com: & lt; Username & gt; / & LT; Repo_name & gt; .git . Ideally your git / config should not include something like this -
[remote "original"] url = git@github.com:
Comments
Post a Comment