我如何使用时间记号(例如“3天前”,“12个月前”等)检出git存储库?
请注意,这个相关问题仅涉及本地仓库,但我想检查远程仓库。
按日期git checkout 给我
git checkout `git rev-list -n 1 --before="3 days ago" master`