top | item 37199200

Ask HN: Virtual Layer Code Editor?

2 points| sbr464 | 2 years ago

Sometimes I want to make notes or space out functions while exploring code. Is there a plugin/best practice for editing a file without actually modifying it, but not losing the changes after the session? Current method is to duplicate a file and mess around with it, but prefer not dirtying the directory.

5 comments

order

sbr464|2 years ago

And definitely don't want to make git branches that you forget exist.

aziaziazi|2 years ago

Have you considered “git gui” or “git branch -a” ?