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 org-mode files?

The manual of gitignore indicates that gitignore don't handle other
behaviors than pattern matching.

--8<---------------cut here---------------start------------->8---
man gitignore
--8<---------------cut here---------------end--------------->8---

My workaround is simply to gather org files into a same directory and
add git ignore rules for each kind of generated file.

--8<---------------cut here---------------start------------->8---
*.html
*.tex
*.ps
*.pdf
--8<---------------cut here---------------end--------------->8---

Hope that helps,
-- 
Konubinix
GPG Key    : 7439106A
Fingerprint: 5993 BE7A DA65 E2D9 06CE  5C36 75D2 3CED 7439 106A

Attachment: signature.asc
Description: PGP signature

Reply via email to