Reputation: 2674
I am trying to Push/Commit a changes to a repository but on Github and I keep getting the error:
Everything up-to-date
Even when I have updated the files in the repository. I have tried:
git push
git push -f
git add "filename"
But none of of these commands seem to be updating the repository (when I check online). Does anyone know why, or, have any suggestions to what I can use?
Hope someone can help me.
Upvotes: 0
Views: 50
Reputation: 4017
First of all
Everything up-to-date
is not really an error, it's more a everything-is-ok message :)
The workflow with git is like - assuming you already done the git init
:
git add filename
to warn git that you add some new filesgit commit -m filename
to commit your change, the -m is for message. git will ask you what is the commit message.git push origin
will send all your modification to the server.Here is a link for a complete manual about git workflow
Upvotes: 1