这里没有设置分值,只有一个主分支。

1. 初始化

git init

2. 远程gitee创建项目
gitee创建项目操作

3. 远程绑定项目

git remote add origin https://gitee.com/pangzi/test.git

4. 拉取远程项目和本地合并

git pull origin master --allow-unrelated-histories

5. 添加待提交内容

git add .

6. 提交到本地仓库

git commit -m 'init'

7. 推送到远程仓库

git push origin master

 

如果第7步失败,再重复下4 - 7步骤。

 

相关文章:

  • 2021-10-21
  • 2021-05-18
  • 2022-12-23
  • 2021-04-01
  • 2021-10-27
  • 2022-12-23
  • 2022-12-23
  • 2021-10-24
猜你喜欢
  • 2021-06-05
  • 2022-01-10
  • 2021-09-17
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-27
相关资源
相似解决方案