loading...

re: 3 Git Commands I Use Every Day VIEW POST

FULL DISCUSSION
 

Similar to your notes on add . vs add -p, I prefer checkout -p as an alternative to reset --hard - you can make sure you're not throwing something away that you missed during the add process. It works exactly the same way as add -p, you can choose to ignore or throw away piece by piece.

code of conduct - report abuse