Answers.Body: <p>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.</p>
  
  <p>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.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-24T06:39:31.810Z
Answers.LastActivityDate: 2018-07-24T06:39:31.810Z
Answers.UserDisplayName: Bence László
Body: <p>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?</p>
  
  <p>See also:</p>
  
  <p><a href="https://stackoverflow.com/q/22583856/262852">https://stackoverflow.com/q/22583856/262852</a></p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-17T12:14:39.257Z
Comments.Text: 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).
Comments.UserDisplayName: Honza Hejzl
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-17T21:33:09.323Z
Comments.Text: what about `jpeg` or other binaries?  Because git doesn't handle those well.  Everything is mostly in text/html?
Comments.UserDisplayName: Thufir
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-04-18T07:48:49.103Z
Comments.Text: Yes, therefore you could try something like [Apache Subversion](https://subversion.apache.org/).
Comments.UserDisplayName: Honza Hejzl
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2018-07-14T08:18:06.670Z
Comments.Text: Git handles jprg as well as subversion does (or as badly).
Comments.UserDisplayName: mmmmmm
Tags: <epub><calibre><publishing><editing><software>
Title: Version control for writing ebooks
UserDisplayName: Thufir
ThreadText: # Version control for writing ebooks
  
  (Asked by: username_0 on 2018-03-27)
  
  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>
  
  **Tags:** epub, calibre, publishing, editing, software
  
  > **Comments:**
  > **username_1**: 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).  
  > **username_0**: what about `jpeg` or other binaries?  Because git doesn't handle those well.  Everything is mostly in text/html?  
  > **username_1**: Yes, therefore you could try something like [Apache Subversion](https://subversion.apache.org/).  
  > **username_2**: Git handles jprg as well as subversion does (or as badly).  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2018-07-24. Score: 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.
  
  
  ---
  
  