Git · easy
You are in pay-notify, the service that emails payment receipts. You staged a real fix in src/notify.ts, then to test against the real gateway you dropped the live Stripe key into .env and muscle memory added that too. Nothing is committed yet: the key is exactly one Enter away from living in history forever, but the notify fix still needs to stay ready to ship.
Take .env out of the staging area without deleting it from disk: you still need it to run the service locally. Leave the notify fix staged. History untouched.
repo/
├── .env (staged - must never reach history)
├── README.md
└── src/
└── notify.ts (staged fix - this one should ship)With sharpen installed, this command opens exactly this challenge in your local arena:
sharpen 6
First time? The full install is right below.
npm install -g @juanwmedia/sharpen sharpen 6 npx @juanwmedia/sharpen 6 sharpen update