前缀用错了,使用https或者ssh作为前缀,而不是git, 如果需要检验权限是否已经配置好了,可以使用命令:
ssh git@github.com
github会提示你一下信息:
PTY allocation request failed on channel 0
Hi davidyang013! You've successfully authenticated, but GitHub does not provide shell access.
Connection to github.com closed.
说明已经配置好权限了
印象中 github
不提供 git
协议.
git clone https://github.com/RReverser/acorn-jsx.git
orgit clone git@github.com:RReverser/acorn-jsx.git