Hacker News new | ask | show | jobs
by aiiane 4817 days ago
Also note that the 'git add' here is actually completely redundant - 'git checkout <filename>' automatically updates the index with the checked-out version of the file, in addition to the working tree.