logoalt Hacker News

dkerstentoday at 3:12 PM0 repliesview on HN

Deleted from the current head/trunk of the repo, ie the deployed code.

Deleting "from my codebase" doesn't imply deleting it from history or backups. Just that the code isn't present for future edits or deployments.

The way you're talking, it sounds like you never delete code from your codebase. Do you just comment it out when you change a line to something else or replace a function with a new one? Just add new files?