git push not send changes to remote git repository

Tim picture Tim · Aug 19, 2009 · Viewed 90.5k times · Source

I am making changes to some file in my local git repository and then want to send the changes to the remote git repository from which the local was cloned via ssh.

After run "git commit -a" on my local side, to send the changes to the remote, I run

$ git push
Everything up-to-date

However I checked the remote files and they are not changed! Any idea?

Thanks and regards!

Answer

knittl picture knittl · Aug 19, 2009

have you tried the following?

 $ git push origin master:master