我想派生namecoin/namecoin,但我已经派生了比特币/比特币。后者是前者的上游父节点。叉链是:
比特币/比特币-> / -> /namecoin
当我派生namecoin/namecoin时,Github只是将我重定向到我的myuserid/比特币派生,而不是创建一个新的myuserid/namecoin派生。在Github看来,它们是同一个项目,但事实并非如此。
有人知道怎么做吗?
发布于 2011-11-28 09:54:08
你不能“正式”这样做,但你总是可以为比特币添加另一个遥控器并从中获取。
git remote add bitcoin-orig git://the/bitcoin/repo/path
git fetch bitcoin-orig
# Merge into your 'master' (CAUTION: This might go badly)
git merge bitcoin-orig/master
# Create a local branch based on the origin
git co -b bitcoin-orig-master bitcoin-orig/master
# Take an individual commit from the original repo and put it into your 'master'
git log bitcoin-orig/master && git cherry-pick <SOME SHA>
https://stackoverflow.com/questions/8290678
复制相似问题