I had made some changes to a file under a git repo, I committed the files using git commit
I then tried to push to master using git push origin master
which returned Everything up-to-date
I typed git push origin head
which seemed to work although I'm not sure if I'm supposed to do this. Previously git push origin head
had always worked for me.
My question is, why would git push origin master
not do anything and should I roll back and re-commit, then git push origin master
?