TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you archive old/abandoned code changes?

1 pointsby zipperheadover 3 years ago
I find myself wanting to keep bits of changes around, that I may in fact never want. But some have useful bits of logic in them, or snippets that I may need in the future, or may want to incorporate in other areas at some point in the future.<p>And, of course, as soon as I delete these types of bits of code (after getting tired of seeing them lying around), I&#x27;ll find myself wishing I had kept them someplace.<p>Yes, I could go back and look at backups. But do you have a better way? And how do you organize them?<p>Examples: Save in git branches? Save as patch commits?

no comments

no comments