Say you add ignore for all generated files like mentioned. That will cover what you need because you can `git add --force' file patterns that are on the ignore list. Grant Rettke -- g...@wisdomandwonder.com | http://www.wisdomandwonder.com/ “Wisdom begins in wonder.” --Socrates “All creativity is an extended form of a joke.” --Kay ((λ (x) (x x)) (λ (x) (x x))) “Life has become immeasurably better since I have been forced to stop taking it seriously.” --Thompson
On Sun, Apr 26, 2015 at 5:39 PM, David Dynerman <da...@block-party.net> wrote: > Hi all, > > Sorry in advance, this might be more of a git question than an org-mode > question, but I thought someone on this list might know the answer. > > Is it possible to conditionally gitignore certain files based on files > that are being tracked? > > What I'd like is something like the following gitignore logic: > > if filename.org is tracked by git: > ignore filename.tex, filename.html > > If this isn't possible, does anyone have any nice setups for ignoring > exported versions of org-mode files? > > Thanks, > David > > > >