Ask HN: How do you archive old/abandoned code changes? 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. And, of course, as soon as I delete these types of bits of code (after getting tired of seeing them lying around), I'll find myself wishing I had kept them someplace. Yes, I could go back and look at backups. But do you have a better way? And how do you organize them? Examples: Save in git branches? Save as patch commits? |
No comments yet