branch正确的情况下,
不知为什么,在push的时候总是出现:
ok!
经过高人的点播,找到了原因:
fatal: remote error:
You can't push to git://github.com/user_name/user_repo.git
Use git@github.com:user_name/user_repo.git
的提示,
解决办法:
如果在git clone的时候用的是git://github.com:xx/xxx.git 的形式, 那么就会出现这个问题,因为这个protocol是不支持push的
用$git clone
git@github.com:lujinjianst/myNCCL.git
就可以用git push了。