I clone my repository with:
git clone ssh://xxxxx/xx.git
But after I change some files and add
and commit
them,
For me I had to make sure the public key is properly configured on the server (appended in ~/.ssh/authorized_keys) and in GitHub/Bitbucket (added to my SSH keys on GitHub or Bitbucket) - they need to match.
Then:
git add --all :/
git commit -am 'message'
git push -u origin master
It worked for me in the end.