Git error: conq: repository does not exist

前端 未结 13 1836
别那么骄傲
别那么骄傲 2021-02-01 02:40

I\'m getting the following errors in Git using BitBucket:

conq: repository does not exist.
fatal: The remote end hung up unexpectedly

How do I

13条回答
  •  广开言路
    2021-02-01 03:01

    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 git@bitbucket.org: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 git@bitbucket.org: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 git@bitbucket.org: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.

提交回复
热议问题