git push on a remote branch

Posted by charlielee on Stack Overflow See other posts from Stack Overflow or by charlielee
Published on 2010-06-11T12:35:58Z Indexed on 2010/06/11 13:22 UTC
Read the original article Hit count: 203

Filed under:

I have a remote project that have a branch. So I first clone the repo. Then issue the following to the clone to work on a branch:

git checkout -b <name> <remote_branch_name>

Then I made the changed needed on this branch and want to commit by doing this:

git commit -a -m "changed made"

However when i want to push back to the remote branch it just say 'Everything is up to date'

git push 
Everything up-to-date

I check by clone the remote repo again in a different directory it haven't push the changes over.... So how do i push my changes back to the remote branch

Thanks

© Stack Overflow or respective owner

Related posts about git