Git error: conq: repository does not exist

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

    I had a similar problem, and this thread helped me solve the issue, but my solution is slightly different:

    I was on a remote server, so first I had to change into the public_html (www) directory, then initialize the repo. (note you have to first add your .ssh key in bitbucket)

    $ git init
    

    which initialized an empty Git repository

    then add the remote

    $ git remote add origin git@bitbucket.org:myname/myproject.git
    

    then I was able to pull and checkout my branch

    $ git pull
    $ git checkout 
    

提交回复
热议问题