-1

git remote add origin https://github.com/aksharma27/myZoom.git git add . git commit -m "comment" git push -u origin master https://github.com/aksharma27/myZoom.git

Adding right remote repo, but while I am pushing the local file, it's showing repo not found. What can be the solution to thi?

I tried git push -f origin master, git push -u origin master. Force pushing is also not working.

3
  • 2
    Is it a private repo? I'm looking for it on Github but it's showing a 404 Commented Jul 8 at 18:02
  • origin is short for the full address - you don't need to put the URL in the push command if origin is there. (But yes, I'm also wondering if this is a private repo.) Commented Jul 8 at 18:38
  • No, I deleted that repo and created a new one. It has been fixed. I uncommitted everything then it worked. Commented Jul 10 at 7:15

0

Browse other questions tagged or ask your own question.