4

When software such as Calibre is used to generate epub, what version control is available? To my understanding, git can be made to work with word processors by jumping through hoops. Perhaps there are similar options for ebooks?

See also:

https://stackoverflow.com/q/22583856/262852

  • I don’t see the point in versioning ePub files (as archives). It would be sufficient to work with Git above the folder structure full of textual files (as a structure for packing up the ePub). – Honza Hejzl Apr 17 '18 at 12:14
  • 1
    what about jpeg or other binaries? Because git doesn't handle those well. Everything is mostly in text/html? – Thufir Apr 17 '18 at 21:33
  • 1
    Yes, therefore you could try something like Apache Subversion. – Honza Hejzl Apr 18 '18 at 7:48
  • 1
    Git handles jprg as well as subversion does (or as badly). – user151019 Jul 14 '18 at 8:18
3

Git can be used, but if you use with epub, or any other kind of archive files then you will not get a meaningful diff between versions, just store each version of the ebook. You can use Git wit literally everything, but if it is not like a simple text file, the diff will fail.

Also, you can set Git LFS for such kind of files as ebooks, it has the advantage that it will not download every version of the files when somebody clones it, just the latest version.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.