本地代码上传gitee && vscode更新提交代码到gitee |
您所在的位置:网站首页 › vscode怎么提交代码到gitee › 本地代码上传gitee && vscode更新提交代码到gitee |
本地代码上传gitee && vscode更新提交代码到gitee
转载
草莓MM 2021-09-13 17:08:00 ©著作权 文章标签 git bash 云平台 解决方法 项目文件 文章分类 其他 其它 本地代码上传gitee && vscode更新提交代码到giteehttps://blog.51cto.com/u_15127575/3960992 首先安装GIT打开Git Bash git config --global user.name "your name" //配置昵称 git config --global user.email "your email" //配置邮箱 git config --global credential.helper store //记住上面2个信息,以后就不用频繁输入 git init git add . //添加文件 git add README.md(如果没有这个文件,会在后面几个操作中报错,解决方法是通过命令合并:git pull --rebase origin master) git commit -m "first commit" git remote add origin [email protected]:xxx/xxx.git //gitee仓库地址 git push -u origin master //提交到码云平台项目文件夹下启动git bash 进行上面的操作 vscode上更改了代码后 更新到gitee
点加号 暂存
提交 ╰︶﹉⋛⋋⊱⋋๑๑⋌⊰⋌⋚﹉︶╯ 赞 收藏 评论 分享 微博 QQ 微信 上一篇:json 下一篇:Centos 使用 httpd 创建本地 yum 源 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |