Settings

Theme

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

1 points by zipperhead 4 years ago · 0 comments · 1 min read


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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection