fatal: does not appear to be a git repository

前端 未结 8 1513
无人及你
无人及你 2020-12-02 10:58

Why am I getting this error when my git repository url is correct?

jitendra@JITENDRA-PC /c/mySite (master)
$ git push beanstalk master
fatal: \'git@skarp.bea         


        
8条回答
  •  爱一瞬间的悲伤
    2020-12-02 11:38

    I met a similar problem when I tried to store my existing repo in my Ubunt One account, I fixed it by the following steps:

    Step-1: create remote repo

    $ cd ~/Ubuntu\ One/
    $ mkdir 
    $ cd 
    $ mkdir .git
    $ cd .git
    $ git --bare init
    

    Step-2: add the remote

    $ git remote add origin /home//Ubuntu\ One//.git
    

    Step-3: push the exising git reop to the remote

    $ git push -u origin --all
    

提交回复
热议问题