Github允许用户使用http://pages.github.com。听起来不错。
我想用它来展示一些代码片段的演示页面。这使我有两个存储库。
- 用户名/snippet-repo
- 用户名/my-username.github.io
snippet-repo
中的可能有一个构建的生产文件,基于最后的(可构建的)更改。我希望这个文件可以在我的github.io
回购没有显式地复制它从一个回购到另一个。
有人遇到过这样的问题吗?有解决方案吗?
添加另一个遥控器和推送,如:
git push anotherRemote master:master
代替git push origin master
(或简称为'git push')