I'm green as grass when it comes to git. Just started learning how to use it yesterday. Whenever I try to push a repository, I keep getting this
error:
fatal: repository 'https://github.com/straywind/Demo.git/' not found
This is what I did:
mkdir Demo
cd Demo
echo "#Demo" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/straywind/Demo.git
git push -u origin master
I then put in my username and password, and then i get the error message. Any help is much appreciated