开发者

Clone at certain timestamp git

开发者 https://www.devze.com 2023-03-08 21:47 出处:网络
How can I clone from a开发者_运维百科 git repo for a certain timestamp? For instance cloning everything in a dev branch up until a set unix timestamp.You can\'t. You can limit the depth of the histor

How can I clone from a开发者_运维百科 git repo for a certain timestamp?

For instance cloning everything in a dev branch up until a set unix timestamp.


You can't. You can limit the depth of the history, but then it's not a clone.


you might want to try

git checkout "@{10 minutes ago}"

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号