lazygit
lazygit copied to clipboard
Implementing a kind of "backup" for the working directory
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