找到你要提交到gitee的项目位置直接拖到这里,然后点击在终端打开
SourceTree首次将本地项目推送代码到gitee

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

如果最后一步执行失败/可以在你项目所在文件直接右键执行
SourceTree首次将本地项目推送代码到gitee
完成了第一次提交

相关文章:

  • 2021-04-01
  • 2022-12-23
  • 2021-12-25
  • 2020-01-19
  • 2022-12-23
  • 2021-04-07
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-08-14
  • 2021-11-10
  • 2021-09-20
  • 2021-08-24
  • 2022-12-23
  • 2021-07-19
相关资源
相似解决方案