1、设置Git及Github + 直接share
https://www.jb51.net/article/191228.htm
2、远程创建好仓库再传
https://blog.csdn.net/qq_41130696/article/details/105837024
3、Git--> Commit Directory有warnings和errors
https://blog.csdn.net/cr27225/article/details/103520066
4、IDEA上传项目到github报错:OpenSSL SSL_read: Connection was reset, errno 10054
检查网络和使用ipconfig /flushdns指令更新dns缓存都不好使。
在 git 中使用下述指令修改其不使用 ssl 验证:解决。
git config --global http.sslVerify "false"
参考:https://blog.csdn.net/tg928600774/article/details/117091962
5、Failed to connect to github.com port 443 after 21054 ms: Timed out
在终端选择使用设置代理,再取消。(不是很明白的操作,但确实可行......)
git config --global https.proxy
git config --global --unset https.proxy
参考:https://blog.csdn.net/weixin_52796927/article/details/121664227
6、error: failed to push some refs to 'https://github.com/...
文件冲突导致的
https://blog.csdn.net/dietime1943/article/details/85682688
7、使用git上传全过程:
git init //为当前项目初始化仓库,只需一次
git add . //.代表将全部文件添加至缓存区,可具体为xxx文件
git commit -m "submit" //将缓存区文件保存至本地仓库
git push origin master //推至远程仓库
8、The following untracked working tree files would be overwritten by checkout
工作目录中有未被track到的文件,就是说整个文件夹下还有没被git接管的文件。这个时候慎用
git clean!!!!!!删了找不回来
解释:https://blog.csdn.net/bencheng06/article/details/94389174
慎用!:https://blog.csdn.net/weixin_44137575/article/details/108142088
9、error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
https://blog.csdn.net/fengwangzhe000/article/details/105025738