emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Conditional .gitignore for org-mode files
@ 2015-04-26 22:39 David Dynerman
  2015-04-27 15:11 ` Richard Lawrence
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Dynerman @ 2015-04-26 22:39 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 535 bytes --]

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



   

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 841 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-07-21 20:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-26 22:39 Conditional .gitignore for org-mode files David Dynerman
2015-04-27 15:11 ` Richard Lawrence
2015-04-27 15:11 ` Samuel Loury
2015-07-21 20:58 ` Grant Rettke

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).