Git download source from a specific date

SteveG1

New Member

Reaction score: 2
Messages: 18

I would like to download the source from 2021-05-17 13:46:46. Could someone tell me how I could do this with git?
 

diizzy

Aspiring Daemon

Reaction score: 163
Messages: 531

* Download repo git clone URL-TO-REPO
* Narrow it down the commit that matches what you're looking for git log --after="2021-05-17 13:00" --before="2021-05-17 14:00"
* Reset repo to matching commit git reset --hard COMMIT-HASH-GOES-HERE
I guess that's what you're looking for?
 
OP
S

SteveG1

New Member

Reaction score: 2
Messages: 18

Thank you! This looked like it worked. I am compiling it now.
 
Top