【问题标题】:Item with empty message in git refloggit reflog 中带有空消息的项目
【发布时间】:2017-03-29 07:05:34
【问题描述】:

我刚刚注意到我的 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

【问题讨论】:

    标签: git git-reflog


    【解决方案1】:

    我错误地手动创建了此类项目,方法是使用一些不适当的参数运行git update-ref。我没有看到它是由其他 Git 命令创建的。

    这些“空”条目是无害的,因此您可以忽略它们。

    【讨论】:

      猜你喜欢
      • 2020-08-16
      • 2018-08-10
      • 2019-04-18
      • 2016-03-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-02-04
      • 2013-07-25
      相关资源
      最近更新 更多