美文网首页
使用git上传代码至码云-Gitee

使用git上传代码至码云-Gitee

作者: 快乐的小2缺 | 来源:发表于2018-10-31 10:22 被阅读0次

在本地项目文件中使用bash

$ git config --global user.name "你的名字"

$ git config --global user.email "你的邮箱"

1. 初始化  

$ git init

$ git remote add origin https://gitee.com/xxx/xxx.git (你的远程项目地址)

2.克隆一下

$ git clone https://****.git (你的远程项目地址)

3. 提交

$ git pull origin master

$ git add .

$ git commit -m "你的第一次提交"

$ git push origin master

相关文章

网友评论

      本文标题:使用git上传代码至码云-Gitee

      本文链接:https://www.haomeiwen.com/subject/unbotqtx.html