Hacker News new | ask | show | jobs
by Denvercoder9 1775 days ago
The problem is that this breaks down when you specify both arguments. Doing `git checkout branch file` checks out file from branch to the working tree, but doesn't change HEAD.