emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Grant Rettke
Subject: Re: [O] Conditional .gitignore for org-mode files
Date: Tue, 21 Jul 2015 15:58:51 -0500

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
--
address@hidden | 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 <address@hidden> 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
>
>
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]