jesseduffield / jesseduffield/lazygit

Implementing a kind of "backup" for the working directory

Open
#3,243 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.