Sync a fork of a repository to keep it up-to-date
Posted wiswang
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Sync a fork of a repository to keep it up-to-date相关的知识,希望对你有一定的参考价值。
https://help.github.com/articles/syncing-a-fork/
https://help.github.com/articles/configuring-a-remote-for-a-fork/
git clone https://github.com/WisWang/website.git
git remote -v
git remote add upstream https://github.com/kubernetes/website.git
git fetch upstream
git merge upstream/master
vim content/en/docs/reference/setup-tools/kubeadm/kubeadm-init.md
git add content/en/docs/reference/setup-tools/kubeadm/kubeadm-init.md
git add *
git commit -m "keep repo update with offcial master"
git push
以上是关于Sync a fork of a repository to keep it up-to-date的主要内容,如果未能解决你的问题,请参考以下文章
failed to sync branch You might need to open a shell and debug the state of this repo.
Teaching Your Computer To Play Super Mario Bros. – A Fork of the Google DeepMind Atari Machine Learn