【发布时间】:2015-04-29 08:50:40
【问题描述】:
我通过
添加了一个子树git subtree add --prefix=path/to/example --squash git@github.com:johndoe/example.git master
并想删除它。 There's no git subtree rm command. 我已经删除了path/to/example 中的所有文件,但是path/to/example 在我通过list subtrees 时仍然出现
git log | grep git-subtree-dir | awk '{ print $2 }'
如何从 git 中删除子树 reference 以使其不再被推/拉/等等?
【问题讨论】:
标签: git git-subtree subtree