github forck一个分之后,如果过一段时间就会和主分支的差异比较大。 这样提交pr的时候 就会冲突,这个时候我们就需要和主分支同步代码

git remote add upstream git@github.com:coreos/etcd.git

git fetch upstream
git merge upstream/master
git push

相关文章:

  • 2021-08-11
  • 2022-01-25
  • 2021-06-08
  • 2021-11-28
  • 2021-12-31
  • 2021-06-13
  • 2022-12-23
  • 2021-09-15
猜你喜欢
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2021-12-07
相关资源
相似解决方案