I clone my repository with:
git clone ssh://xxxxx/xx.git
But after I change some files and add and commit them,
add
commit
So I tried Vi's solution:
git push origin HEAD:
This worked for me.