1.切换分支

git checkout -b dev origin/feature/迭代1.1

 

2.提交本地代码到github

git init  //初始化git

git config --global core.autocrlf false  //解决:warning: LF will be replaced by CRLF

git add .  //添加到缓存

git commit -m "first commit"  //提交代码

git remote add origin git@github.com:xxxxx/xxxxx.git  //关联到git

git push -u origin master -f  //使用-f 强制push

参考:https://blog.csdn.net/michael10001/article/details/51371715

相关文章:

  • 2021-08-07
  • 2021-06-04
  • 2022-12-23
  • 2022-02-25
  • 2021-09-05
  • 2021-05-26
  • 2021-12-24
  • 2022-12-23
猜你喜欢
  • 2021-12-08
  • 2021-07-24
  • 2022-01-27
  • 2022-01-04
  • 2021-05-07
  • 2021-07-28
  • 2022-01-16
相关资源
相似解决方案