1. 设置SSH秘钥,参考
https://blog.csdn.net/qq_41686317/article/details/80463289
https://blog.csdn.net/weiwenhp/article/details/52966540
2. 秘钥设置好后,上传代码
首先需要在网页登陆自己github建立一个项目repository
3.
git clone https://***.git
cd this clone folder
cp -r files_need_copy .
git add files_need_copy
git commit -m 'test'
git push origin master