【发布时间】:2013-05-17 00:18:36
【问题描述】:
是否可以从远程 repo 获取我的 git 存储库更新的日期和时间。目前我使用“repo sync”和“git pull --rebase”来更新我的本地存储库。
谢谢
【问题讨论】:
标签: git
是否可以从远程 repo 获取我的 git 存储库更新的日期和时间。目前我使用“repo sync”和“git pull --rebase”来更新我的本地存储库。
谢谢
【问题讨论】:
标签: git
试试
git rev-list --format=format:'%ai' --max-count=1 `git rev-parse HEAD`
【讨论】: