morganpartee / codegpt

GNU General Public License v3.0
23 stars 5 forks source link

Automatically backup file #1

Closed josephsdavid closed 1 year ago

josephsdavid commented 1 year ago

Since this is a footgun machine, it would be nice to automatically write a backup before starting

josephsdavid commented 1 year ago

Like save to [filename].[extension].bak

josephsdavid commented 1 year ago

or .orig if we are following a git theme

morganpartee commented 1 year ago

It moves it to [filename].[extension].old by default ;)

But, yeah I'd use git for that