我在GitHub上有一个repo,我想开源。在此之前,我想要派生私有项目,从应用程序中删除我的秘密API密钥,然后将派生作为开源发布。
我该怎么做?
发布于 2012-07-13 10:12:52
Use the git filter-branch command to rewrite history。
$ git filter-branch --index-filter 'git rm --cached --ignore-unmatch Rakefile' --prune-empty --tag-name-filter cat -- --allhttps://stackoverflow.com/questions/11463202
复制相似问题