Hacker News new | ask | show | jobs
by tinus_hn 1252 days ago
Sounds terrible, however typically you’re checking out code you’re going to compile and run anyway.
1 comments

That is a little less than typical for me. I sometimes check out code to read it or to decide if I should compile and run it.
Likewise; editor tooling is better than Github's. In general, I feel like "git checkout" alone being a potentially unsafe action breaks a lot of people's mental threat models.
You might find git-peek useful:

https://github.com/jarred-sumner/git-peek