> README.mdgit initgit add README.mdgit commit -m "first commit"git remote add origin https://github.com/harry" />

百分百源码网-让建站变得如此简单! 登录 注册 签到领金币!

主页 | 如何升级VIP | TAG标签

当前位置: 网站模板(百分百源码网)>电脑软件>服务器> Visual Studio Code(vscode) git的运用教程
分享本文到:

Visual Studio Code(vscode) git的运用教程

发布时间:05/16 来源:未知 浏览: 关键词:

本文介绍了Visual Studio Code(vscode) git的运用,分享给大家,具体如下:

1.新建一个github账号

 

2.在vscode中施行下令

echo "# C-Tests" >> README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/harryluo163/C-Tests.git
git push -u origin master

施行时候会让你属于账户密码,vscode

先按照提醒去下载git

1.安装

Git:

sudo apt-get install git

全局配置

git config --global user.name "YourName"
git config --global user.email YourName@gmail.com

查看配置

git config user.name
git config user.email


git config --list

或查看一下文件

~/.gitconfig

3.回到vs code打开git工作区就会看到所有代码显示在这里

4.然后按提醒随意在新闻框里输入一个新闻,再按ctrl+enter提交

5.然后把所有暂存的代码push云端

 

6.打开github,产生转变了哦

 

以上就是本文的全部内容,但愿对大家的学习有所帮忙,也但愿大家多多支撑我们。

热门标签:dede模板 / destoon模板 / dedecms模版 / 织梦模板
责任编辑:snsFz
打赏

打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,你说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

百分百源码网 建议打赏1~10元,土豪随意,感谢您的阅读!

共有154人阅读,期待你的评论!发表评论
昵称: 网址: 验证码: 点击我更换图片
最新评论

本文标签

广告赞助



订阅获得更多模板

本文标签

广告赞助

订阅获得更多模板