This actually gives me an idea for a plugin. Something that looks for a Checkpoint repo for the opened book and 1) launches a terminal in the repo's directory so that git (if in the PATH) can be immediately used, and 2) opens a file browser in the same directory so that individual files can be opened with other applications.
It might be a little awkward (semantically) to use the "Restore Epub from previous Checkpoint" button to load tagged commits just made externally, but it seems to work just fine. It might make things a little more simple/intuitive for seasoned git users to be handed a git-ready terminal and a file-browser with the Epub's contents. The checkpoint repo could then be easily connected to github remotes if desired. Forks made, Pull Requests merged, then pull changes down, commit, tag and merge into the working Epub via "Restore Epub from previous Checkpoint"
One would just have to make sure the initial repo was created by Sigil so all necessary pieces are in place.
|