The readme outlines how to use a dura branch to recover, but it involves a lot of git-fu. It could be a lot easier
Idea: sub-commands
Add dura subcommands to do things like
- Get the branch corresponding to HEAD, e.g.
dura head
- Get a commit by time frame, e.g.
dura head 4h. I imagine this searching across dura branches, since we can indeed go prior to the HEAD commit.
- Recover to a specific commit hash (or a time frame).
Idea: Add help messages in relevant places
Documentation in the readme is great, but it could be better if we added help directly into messages that dura has to leave anyway. For example, why not set the commit message to something like:
dura auto-backup
To recover to this commit, run this:
<<git commands>>
The readme outlines how to use a
durabranch to recover, but it involves a lot of git-fu. It could be a lot easierIdea: sub-commands
Add
durasubcommands to do things likedura headdura head 4h. I imagine this searching acrossdurabranches, since we can indeed go prior to the HEAD commit.Idea: Add help messages in relevant places
Documentation in the readme is great, but it could be better if we added help directly into messages that
durahas to leave anyway. For example, why not set the commit message to something like: