fatal: does not appear to be a git repository

前端 未结 8 1527
无人及你
无人及你 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:44

    This is typically because you have not set the origin alias on your Git repository.

    Try

    git remote add origin URL_TO_YOUR_REPO
    

    This will add an alias in your .git/config file for the remote clone/push/pull site URL. This URL can be found on your repository Overview page.

提交回复
热议问题