4 ms·
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 che
by tannakartikey 7y 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>`
- mehrdadn 7y agoI think you missed the part that said "without checking out any files"?
- debaserab2 7y agoWhy would checking out files matter? What exactly do you think the GUI is doing underneath the hood?
- mehrdadn 7y agoBecause it messes with your work tree. See here for a longer response: https://news.ycombinator.com/item?id=21800524 https://news.ycombinator.com/item?id=21800524