github - Unable to push to Git Repository after adding a branch -


I have a 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".

  1. The new branch "demo2Full" has been created on the butt, which is similar to "bugfix".
  2. Git Remote Demo2Full git @ github-user: add user / project_demo2Full.git
  3. On the local machine: git branch demo 2 full < / Code> & amp; GIT checkout Demo 2 full .

    After this I switched "Bugfixes" with GIT checkout bugfix without issue.

    Now, when I do: 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.   

    I have gone through several links, the 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.

    Where am I going wrong?

    Edit
    Also, like having a separate entry for each branch in the config file:
    git @ github-userName: userName / ProjectName_branchName.git is correct?

    Try changing the URL to 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:   

    No need to add Remote Not for each branch, there should be only one surname for your repository on the nickname gitub.

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -