alt
Hacker News
jolmg
•
today at 3:24 AM
•
0 replies
•
view on HN
Right, maybe a better way to get what they're going for would be
git checkout @~ ^tests
where ^tests is zsh's way of saying * except for tests. So you get the tests/ of the current commit and the code of the prior.