From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Dynerman Subject: Conditional .gitignore for org-mode files Date: Sun, 26 Apr 2015 17:39:39 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmVbo-0004kn-7R for emacs-orgmode@gnu.org; Sun, 26 Apr 2015 19:05:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmVbk-0005fk-7l for emacs-orgmode@gnu.org; Sun, 26 Apr 2015 19:05:08 -0400 Received: from [2001:9b0:10:2104:20f8:85ed:688b:98f4] (port=41530 helo=anti-capital.block-party.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmVbk-00057s-0G for emacs-orgmode@gnu.org; Sun, 26 Apr 2015 19:05:04 -0400 Received: from dyn-72-33-206-237.uwnet.wisc.edu (dyn-72-33-206-237.uwnet.wisc.edu [72.33.206.237]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: david@block-party.net) by anti-capital.block-party.net (Postfix) with ESMTPSA id 5FB052327 for ; Sun, 26 Apr 2015 17:39:59 -0500 (CDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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 =20=20=20 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJVPWk4AAoJEBztEfokJf+KMX8QAMpKMQxHMpXxAiqgP/mhPaJT ll9/EfNNvEBeDx++OgkirzXL/vYGVUbOuGZcveCkLTbH81xrbp+PTc+2QKZN6L5j D/I+raAeUKilAZtC1x+Ip7h7KdxM07B37oGDnwQ4cw3HNwbezwl5EB8PNzZ8siHB giBonkWsCegxihi8+VuF+SsJrAcKUnHK3mpNQ2eGPGDsQlk4yI6iPJAbCkY4QB2G ycc0vFSyhSyDyyU93JOCqeIFbB5/+1KykY2Afo2FNJiB2HZaMsondSd7ZH8PDkni 6Mdu/YOT+2NUYIq4nrLJ1Yaz46sdiOuE8AwwfsAaHTP4pbgCt45HVMiEdza6jaSp m5bk/dn+wKww6Xs4sdpJ2cTk5jiv/X6pG2I6rg6QN3eSx8SZWU6BjdhiaNQKn0Yr C4ERcxOecZa2QQbwTW4Ng8qS6JC2Y+oNDdEuBSgYqkuU+JU91BITLJo+TLMBcUa1 REXprLyNya3jpA67BUFmvkwZr8dAT2wlKTKUEopW72d9a7WK0J1ta3+enEsOC3ic y0RPiim2CP3ka/w8zBtWODZIltYnjw2+0RAdDmqX2qE3BroOYCxBZ66OTnRYJkAC kzO23rzpWJbzyfVM1O+rHqn+TQP7SBCba2Y1kz5sGP0DaTqC+caNYT7iRdi9kEt/ tAvQwd1556kll0tQfapU =6W4T -----END PGP SIGNATURE----- --=-=-=--