java - Getting getting "not found" and "already exists" for the same github repo -
I have a GIT repo with a project in the name of dogs, now I try to add another project called Chair I am here. So, to add the chair project as follows, go to Gitob and nominate a chair named
git commit -m 'first committed' Copy my URL from github and enter in terminal git remote add parent https://github.com /myname/chair.git
git push original master then error I
Remote: The repository was not found. Fatal: The repository 'did not get'
This error looks awkward, I re-typed
git remote add originals https://github.com/myname/ Chair.git
Be sure that it has an error Fatal: Remote Origin already exists.
So how is it possible that I not found
and I know that there are similar questions, but none of them Was not able to help me. Note: I suspect that somehow my first repo, dog
, is currently interfering in my repo chair
but why would it happen? It has been around two months, but I believe I have followed the exact steps when making the dog
and I definitely do not have any dog
update I am doing
Update
I delete the original with the git remote rm origin
and then repeat the exact same step But this time all the replace the original
with chair
. I still end up with not found
, but when I go to git push chair master
Please try adding a remote chair for your new GIT repo.
& lt; Code & gt; Git Remote Joint Chair https://github.com/myname/chair.git & lt; / Code & gt;
After making changes and issuing, please use the command given below to push the code.
& lt; Code & gt; Git Push Chair Master & lt; / Code & gt;
Comments
Post a Comment