开发者

What is git log date?

What does the date in the descriptio开发者_JAVA百科n of each commit of 'git log' mean? Is it the date commit was initially done on some repository or is it the date it was merged to current repository?


It is the date of the original commit. More precisely, the author commit date, which can be different than the real commit date, for example when a commit is cherry-picked or rebased: the original commit date is kept as author date, and the time it is picked is the commit date.

Pulling from a remote repository preserves both commit date and author dates.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜