如何使用vs远程提交代码到github

如何利用VSCode优雅的使用Git提交至GitHub

1.安装git
2.打开cmd或者git bash,在项目目录下运行git init
3.然后按照这个来提交到github上的远程仓库,具体的自己改

git add runoob-test.txt 
git commit -m "添加到远程"

git remote add origin https://github.com/AlwaysbeFun/VSCode_Git_Test.git 
git push -u origin master  //提交到你的仓库

猜你喜欢

转载自blog.csdn.net/weixin_46235143/article/details/117173422