git使用手记

结合VSCode使用git远程传项目
1. 在VSCode中“查看”打开命令面板,输入git安装
2. 进入到项目文件夹,git clone http://(要传的地址)
3. git config –list
4. git config -e [–global]
5. git config user.name “[]” 括号里面写你的GitHub名字
6. git config user.email “[]” 括号里写你的GitHub邮箱
7. ls
8. ls -ll
9. cd .git
10. ls
11. cd ..
12. ls
13. git status
14. git add ./
15. git status
16. git commit -m “first commit”
17. git push origin master
18. 完事

猜你喜欢

转载自blog.csdn.net/qq_24122593/article/details/79885565