When one jumps the rope on the porch of The Farm, let's just say, Things Happen™.
Said things include:
1. Chickens fleeing the safety of the trees, away from the fwip, tap, fwip, tap, fwip, tap, fwip, tap, fwip, tap, fwip, tap of two jumps a second.
2. Bodily functions send Other Things™ downward.
There are other Things That Happen™, to be sure.
Such as, one becomes more adept at the jumping of the rope. I'm at 120 jumps a minute, I'm wondering if I can sustain the pace longer, or go faster.
git reset will discard any local changes you have in the current branch you have checked out.
Sometimes, however, you want to reset a single file, not the whole branch. In this case, use
checkout, but use the special "option"
--, which is unix for "treat every argument after this point as a file name, no matter what it looks like."
# general case git checkout HEAD -- [file] # my specific case used ALL THE TIME git checkout HEAD -- package-lock.json