I am writing my PhD thesis and as I am not the least chaotic guy I also add notes for future reference. Surely, this means it is not production grade, or how you would like to call it.
There is a nice package called
versions which takes care of the versions. We also have the helpful answers in Using latexdiff with git to use git. My goal now is to have something similar to versions but that the content is removed when for example it is in between
\allokay and this would be checked out in the
advisorbranch. Preferably, only the main version should be compiled (or the one marked as to be compiled).
Would such a thing already exist, or are there better solutions for this problem?
- I have a git repository working on the working directory of my thesis which includes all my remarks using
- I have several branches other than the main branch, say
advisorwhich contains the same as the main branch (which contains it all) but then pieces cut out.
- I modify my document and I add things which are for my eyes only (main) and some which are for my advisor. I would like to use something like the versions package to mark parts which belong to where.
- When done editing I commit my changes. As my modification has parts which belong to a different branch I would like to have that the version which is okay for the advisor gets "built" (pieces cut out) and commited to
advisorand the whole thing to main.