lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

Implementing a kind of "backup" for the working directory

Open diego898 opened this issue 1 year ago • 0 comments

Topic Implementing "Checkpointing" in for the working directory before actions that will change/destroy it

Your thoughts Of course, everyone knows there is no built-in "undo" for changes to the working directory. But I've come across a few recommended aliases like:

co = "!git stash push -m \"co backup\"; git stash apply; git checkout \"$@\""

Perhaps something like this can be implemented into lazygit

diego898 avatar Jan 22 '24 22:01 diego898