jesseduffield / jesseduffield/lazygit
Implementing a kind of "backup" for the working directory
Open
discussion
- Dominant language
- Go
- Stars
- 82.4k
- Forks
- 3k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 19
Description
**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
Contributor guide
Assessment
This issue has not been assessed yet.