使用Git Bash从Gitee上下载代码到本地以及上传代码到码云Git:
https://www.cnblogs.com/babysbreath/p/7274195.html
指定克隆远端分支
https://blog.csdn.net/cckavin/article/details/81462702
添加公钥
针对:
- git@gitee.com: Permission denied (publickey).
- fatal: Could not read from remote repository.
https://blog.csdn.net/dyy_csdn/article/details/81508809
用远程的代码强制覆盖本地的代码,注意要指定分支
https://blog.csdn.net/zoulonglong/article/details/79562922
https://blog.csdn.net/chenxu6/article/details/79597279
错误列表
- fatal: Not a git repository (or any parent up to mount point /home)
- Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
解决办法:git init
服务器上网才能从远端下载代码
python2 login.py -a [login/logout] -u 学校网关账号 -p 学校网关密码