Should git-apply or git-am come up with the same hash?

后端 未结 1 648
太阳男子
太阳男子 2021-01-06 03:58

I think I\'m missing something. I was under the impression that git\'s usage of a SHA-1 hash commit identifier meant that one could be certain that patch obtained from some

相关标签:
1条回答
  • 2021-01-06 04:10

    By default, git am sets the Committer Date to the current time. You can use the --committer-date-is-author-date flag to avoid that, though it may still set you as the committer (in fact, it probably will). You can verify this by using git log --format=fuller instead which shows the Committer information as well.

    0 讨论(0)
提交回复
热议问题