全球主机交流论坛
标题:
github fork的时候可以把所有branches 一起带上吗?
[打印本页]
作者:
佳辉的春天
时间:
2022-12-7 20:51
标题:
github fork的时候可以把所有branches 一起带上吗?
再整短链接 ->https://github.com/xyTom/Url-Shorten-Worker
发现大佬的部分代码其他分支中,想fork过来改一下去ref的代码....
有办法fork的时候可以把所有branches 一起带上吗?
感谢
作者:
佳辉的春天
时间:
2022-12-7 21:04
随便问一下大佬
https://xytom.github.io/Url-Shorten-Worker/no-ref.html
复制代码
是怎么指向
https://raw.githubusercontent.com/xyTom/Url-Shorten-Worker/gh-pages/no-ref.html
复制代码
的哈
小白提问,感谢哈
作者:
darius
时间:
2022-12-8 00:21
你点fork后跳转到的页面有个选项是只复制master还是main分支,把这个前面的勾去掉就行了啊
作者:
佳辉的春天
时间:
2022-12-8 19:14
darius 发表于 2022-12-8 00:21
你点fork后跳转到的页面有个选项是只复制master还是main分支,把这个前面的勾去掉就行了啊 ...
感谢,老哥追问一下
我看作者的"https://xytom.github.io/Url-Shorten-Worker/no-ref.html"是指向"https://github.com/xyTom/Url-Shorten-Worker/blob/gh-pages/no-ref.html"的,
想问一下这个咋配置,我已经复制了所有的分枝.
感谢
作者:
佳辉的春天
时间:
2022-12-8 21:08
找到那个Repository,点击Settings,点击pages,选择一个Branch,点击save,显示GitHub Pages source saved. ~~
然后原来的https://github.com/xxxx/Url-Shorten-Worker,改成https://xxxx.github.com/Url-Shorten-Worker就可以访问了
搞定
欢迎光临 全球主机交流论坛 (https://fd.vvwvv.eu.org/)
Powered by Discuz! X3.4