First of all, I am a noob at using git.
- I was working on a project and did a commit and pushed to remote github repository.
- But, then later I realized that I did some mistake, so I did $git --amend -am "My message"
- Now, I was not able to push again to the remote server as I was getting error. So, I thought of deleting the remote github repo & recreated the same with the same name.
- Now, when I try to push, it says "Everything up-to-date".
Please guide as to how do I solve this?