Re: [O] Conditional .gitignore for org-mode files

2015-07-21 Thread Grant Rettke
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

Re: [O] Conditional .gitignore for org-mode files

2015-04-27 Thread Richard Lawrence
Hi David, David Dynerman da...@block-party.net writes: 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?

Re: [O] Conditional .gitignore for org-mode files

2015-04-27 Thread Samuel Loury
Dear David, David Dynerman da...@block-party.net writes: 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

[O] Conditional .gitignore for org-mode files

2015-04-26 Thread David Dynerman
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