简体   繁体   English

GitHub分叉的项目:拥有自己的gh-pages的正确方法

[英]GitHub forked project: right way to have own gh-pages

When a github project is forked the gh-pages related to initial project. 当github项目被分叉时,与初始项目相关的gh-pages。 Can i have a modifications in gh-pages and do not synchronize it with parent project? 我可以在gh页中进行修改,并且不与父项目同步吗? the same question is for trivial README in master-branch of fork. 对于fork主分支中的普通README,同样的问题。

You could keep your modifications separate per branches: 您可以将每个分支的修改分开:

  • one branch for modification you might want to push back with a pull request 一个分支用于修改,您可能希望通过拉取请求回滚
  • one branch for private modifications (ad you would merge the first branch on the second regularly, to keep all combined evolutions in one - private - branch) 一个分支进行私有修改(广告您可以定期将第二个分支合并到第二个分支中,以将所有合并的演化保留在一个私有分支中)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM