You get this error if the remote repository hasn't been created. Bitbucket is running a service called conq
that handles pushes and you see the error message from it. Simply create a new (empty) repository and the push should succeed.
Here I'm pushing to a non-existing repository:
$ git push [email protected]:mg/testt.git master
conq: repository does not exist.
fatal: The remote end hung up unexpectedly
and here I push to the correct path:
$ git push [email protected]:mg/test.git master
Counting objects: 3, done.
Writing objects: 100% (3/3), 203 bytes, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: bb/acl: mg is allowed. accepted payload.
To [email protected]:mg/gtest.git
* [new branch] master -> master
The test
repository was newly created on Bitbucket. If the problem persists, then I suggest deleting the empty repo from Bitbucket and re-creating it.
%20
's; then as a result it was trying to execute a clone of my local file path instead of the repo name... – Damp