I'm following a tutorial on how to use Git. I'm up to the part where I am to push files to a newly created GitHub repo. However I am getting the error:
Updates were rejected because the remote contains work that you do not have locally.
I'm guessing this was because the GitHub repo had a readme.md
file in it, provided by GitHub, and my local didn't. So I deleted that file. However I still cannot push. I'm still getting the same message.
I'm guessing this is because I have to somehow 'push' the changes (the deleting of read me) on the remote repo?
Would anyone know how to go about that?