gpt4 book ai didi

git - 如何检索 git pull 历史记录

转载 作者:太空狗 更新时间:2023-10-29 13:29:51 26 4
gpt4 key购买 nike

每当我从远程仓库 git pull 到我的本地仓库时,Git 是否存储了我 pull 的WHEN 信息?我可以看到我在本地存储库中执行的 pull 日志吗?

最佳答案

你可以试试看看你的git reflog的内容......但这会受到时间限制(默认为 90 天)

vonc@VONCAVN7 D:\git\git
> git reflog --date=iso|grep pull
3ec7d702a HEAD@{2017-09-10 17:42:57 +0200}: pull --no-commit origin master: Fast-forward
b3622a4ee HEAD@{2017-08-12 10:36:08 +0200}: pull: Fast-forward
97e2ff464 HEAD@{2017-06-17 18:43:28 +0200}: pull: Fast-forward
8d1b10321 HEAD@{2017-06-08 20:36:08 +0200}: pull: Fast-forward
10c78a162 HEAD@{2017-05-21 21:22:58 +0200}: pull: Fast-forward
b06d36431 HEAD@{2017-05-14 07:36:49 +0200}: pull: checkout b06d3643105c8758ed019125a4399cb7efdcce2c
1d1bdafd6 HEAD@{2016-12-22 00:36:52 +0100}: pull --no-commit origin master: checkout 1d1bdafd64266e5ee3bd46c6965228f32e4022ea
3ab228137 HEAD@{2016-11-12 08:25:02 +0100}: pull: checkout 3ab228137f980ff72dbdf5064a877d07bec76df9
2632c897f HEAD@{2016-08-20 21:52:51 +0200}: pull: checkout 2632c897f74b1cc9b5533f467da459b9ec725538
2376d3178 HEAD@{2016-08-13 09:19:54 +0200}: pull: checkout 2376d31787760af598db23bb3982a57419854e5c
f8f7adce9 HEAD@{2016-07-31 13:34:44 +0200}: pull: checkout f8f7adce9fc50a11a764d57815602dcb818d1816
ab7797dbe HEAD@{2016-06-22 11:53:20 +0200}: pull: checkout ab7797dbe95fff38d9265869ea367020046db118

关于git - 如何检索 git pull 历史记录,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47321486/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com