Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: