0
Every time I try to execute the command git push -u origin master
, Git generates a repository error not found.
I followed exactly the step by step that is written on Github. Below is everything I did until sending the push
for you to see and try to help me:
- I created a private repository on Github without the file
readme.md
- created a folder on my computer
- I opened Git on it
I typed the following commands:
echo "# test-git" >> README.md git init git add README.md git commit -m "first commit" git remote add origin https://github.com/usuario-do-git/nome-do-repositorio.git git push -u origin master
Soon after the following error is generated:
remote: Repository not found.
A friend of mine followed these steps and did not get this mistake, on the contrary, everything went right for her. I tried everything, I deleted even the account and created again, and again I repeated all the steps.
What I’m doing wrong to be thrown this mistake ?