代码也可以升级为艺术
2017-12-15 09:52
采纳率: 75%
浏览 3.2k
已采纳

git将本地仓库链接到远程仓库,死活连不上是怎么回事

毕彦青@LAPTOP-A1SM481U MINGW64 /myCode
$ git init
C:/Program Files/Git/myCode/.git: Permission denied

毕彦青@LAPTOP-A1SM481U MINGW64 /myCode
$ ssh -T git@github.com

Hi BgBi! You've successfully authenticated, but GitHub does not provide shell ac cess.

毕彦青@LAPTOP-A1SM481U MINGW64 /myCode
$ cd C:\Program Files\Git
bash: cd: too many arguments

毕彦青@LAPTOP-A1SM481U MINGW64 /myCode
$ cd C:\Program" "Files

毕彦青@LAPTOP-A1SM481U MINGW64 /c/Program Files
$ cd Git

毕彦青@LAPTOP-A1SM481U MINGW64 /c/Program Files/Git
$ cd MyProject

毕彦青@LAPTOP-A1SM481U MINGW64 /c/Program Files/Git/MyProject
$ git init
C:/Program Files/Git/MyProject/.git: Permission denied

毕彦青@LAPTOP-A1SM481U MINGW64 /c/Program Files/Git/MyProject
$ ssh -T git@github.com
Hi BgBi! You've successfully authenticated, but GitHub does not provide shell ac cess.

7条回答 默认 最新

相关推荐 更多相似问题