Git · medium
You built the dark-theme toggle and committed it on main. That tip should have been a feature branch from the start. main needs to go back to the previous commit; the work must not vanish: label the tip first, then rewind main.
Point a new branch feature/dark-mode at the current tip, then put main back one commit with a hard reset. Stay on main. The feature branch keeps the dark-mode commit.
repo/
└── src/
└── theme.ts (committed on main by mistake)With sharpen installed, this command opens exactly this challenge in your local arena:
sharpen 13
First time? The full install is right below.
npm install -g @juanwmedia/sharpen sharpen 13 npx @juanwmedia/sharpen 13 sharpen update