Git error: conq: repository does not exist

前端 未结 13 1441
别那么骄傲
别那么骄傲 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:17

    In my case, the git repository was duplicated somehow in the config file:

    cat .git/config
    

    gave me:

    [remote "origin"]
        url = git@bitbucket.org:myUserName/myRepositoryName.git/myRepositoryName.git
        fetch = +refs/heads/*:refs/remotes/origin/*
    

    As you can see, myRepositoryName is duplicated, so I removed that, and now the config file looks like this:

    [remote "origin"]
        url = git@bitbucket.org:myUserName/myRepositoryName.git
        fetch = +refs/heads/*:refs/remotes/origin/*
    

    Doing this, my problem is solved. Now the push is correctly done. Hope this help someone.

    0 讨论(0)
提交回复
热议问题