1

是否可以从远程仓库更新我的 git 存储库的日期和时间。目前我使用“ repo sync”和“ git pull --rebase”来更新我的本地存储库。

谢谢

4

1 回答 1

0

尝试

git rev-list --format=format:'%ai' --max-count=1 `git rev-parse HEAD`

来自https://gist.github.com/bitrut/1494315

于 2013-05-22T04:30:58.763 回答