我如何使用“3 天前”、“12 个月前”等时间符号检查 git 存储库?
备注this related question只关注本地仓库,但我想检查远程仓库。
最佳答案
git checkout `git rev-list -n 1 --before="3 days ago" master`
关于N 天前的 Git checkout 存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20801238/