我刚刚注意到我的reflog中的项目是空信息。你知道什么可以在日志中创建空项吗?
fadea5a HEAD@{6}: merge stable/abc: Merge made by the 'recursive' strategy.
b03c8c7 HEAD@{7}: merge stable/xyz: Merge made by the 'recursive' strategy.
ca6fa32 HEAD@{8}: checkout: moving from BRANCH-PER-FEATURE-PREFIX-integration to integration
5c916dd HEAD@{9}:
5c916dd HEAD@{10}: checkout: moving from stable_master_14791972220.8707234494009218 to integration
ca6fa32 HEAD@{11}: checkout: moving from abz to stable_master_14791972220.8707234494009218
2392d5f HEAD@{12}: reset: moving to HEAD
答案 0 :(得分:1)
我通过运行带有一些不适当参数的git update-ref
错误地手动创建了这些项目。我没有看到它由其他Git命令创建。
这些“空”条目是无害的,所以你可以忽略它们。