Am 22.12.2013 04:11, schrieb Carl Peterson:
2) Is it possible to interleave two repos so that in one folder in the
main repo, the main repo ignores PDF and MIDI files and the secondary
repo*only*  tracks PDFs and MIDIs? The files that are actually
compiled are in a subfolder of the main repository folder.

Do you have something like this:

/
- file1.ly
- file2.ly
/output/
  - file1.pdf
  - file1.midi
  - file2.pdf
  - file2.midi

?

If yes then you can put a second .gitignore file in /output/
Its items are added to the .gitignore in the root directory.

Adding
!*.pdf
!*.midi

will revert the previous exclusions.

Otherwise I don't know of a way to have a doubled repository.

But I'm actually not really sure if your use case really makes sense.
Somehow it looks to me that you'd either want your pdfs to be in a repo or not. In any case, if you _do_ track pdfs (either in the same repo or in a separate one) you should take care not to commit each modification (after each new compilation) but only 'relevant' ones.

HTH
Urs


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to