1、新建文件夹,右键点击空白处,选择Git Bash Here

使用Git将项目传到远程仓库

2、git config --global user.name '********'

3、git config --global user.email '******@**.com'

4、git clone https://************

使用Git将项目传到远程仓库

5、vim a1.cpp

6、git add a1.cpp

7、git commit -m 'add a1.cpp'

8、git push

相关文章: