Comment by tannakartikey
5 years ago
Not against GUI or anything but just curious about doing it from CLI: git log | grep 'June 2017' (and remember the first 5 characters of hash) And then `got checkout <hash>`
5 years ago
Not against GUI or anything but just curious about doing it from CLI: git log | grep 'June 2017' (and remember the first 5 characters of hash) And then `got checkout <hash>`
I think you missed the part that said "without checking out any files"?
Why would checking out files matter? What exactly do you think the GUI is doing underneath the hood?
Because it messes with your work tree. See here for a longer response: https://news.ycombinator.com/item?id=21800524