git clone --bare: fatal: repository does not exist

前端 未结 3 1126
醉梦人生
醉梦人生 2020-12-16 18:26

I am using git version 1.7.10.4 on debian Wheezy.

I am trying to create a new repository (according to the \'manual of git-scm.com) However everytime I get this fata

3条回答
  •  执笔经年
    2020-12-16 19:00

    you get this error(fatal: repository 'pekoe' does not exist) when you don't follow the steps properly in git.

    step-1:: install git and config with command

    git config --global user.name eg., mack09 git config --global email

    step-2:: the go to Github website create a new repository step-3:: copy the address from right-hand side https://github.com/mack09/repo.git

    step-4:: go to git bash or cmd , create a folder to store all your project do go to the folder you created and now you are in created folder. step-5:: do this git clone https://github.com/mack09/repo.git step-6:: add heart.txt and git commit-m " message" and git push origin master. I tried this step it worked so try it and reply whatever the result.

提交回复
热议问题