From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id et+WEAwUF2F4WAEAgWs5BA (envelope-from ) for ; Sat, 14 Aug 2021 02:53:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KEeyCwwUF2EzCgAAB5/wlQ (envelope-from ) for ; Sat, 14 Aug 2021 00:53:32 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 683D81B832 for ; Sat, 14 Aug 2021 02:53:31 +0200 (CEST) Received: from localhost ([::1]:59026 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEhvW-0000cD-Gh for larch@yhetil.org; Fri, 13 Aug 2021 20:53:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEhvA-0000bz-NK for emacs-orgmode@gnu.org; Fri, 13 Aug 2021 20:53:08 -0400 Received: from mail-pl1-x62c.google.com ([2607:f8b0:4864:20::62c]:38740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mEhv9-0000FX-B6 for emacs-orgmode@gnu.org; Fri, 13 Aug 2021 20:53:08 -0400 Received: by mail-pl1-x62c.google.com with SMTP id a5so14167756plh.5 for ; Fri, 13 Aug 2021 17:53:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=aQ/BVMUdOhW5Fz2BlXCJiiCo/uzypfQQpeg4xDo2hmQ=; b=X6JIeYYMCQQoMThlGUbpbfPT8hqXAlfaqx4VDUrjGMH3JIuNX7Pz1OylVLOXQ/MFV1 qguyW9MvI67hkWSPbD2IZT1xR+sB0GEBcUdLbQ+16Z7hZ2Ov9E8aZruH+lvMyoFpB4U+ oXs8on3DiRnNs8jrWbuDug9cuz+hs8w3Qsx8QMElvgiIpuQwBj2knCpEezVnlQIrJmS4 Moet++h9s92PJ9qNYSxTBh4qBvftiLK31zCK75LUaxV3aaRollniQVIxsvxzSwcZAYZ2 Df47j2Ow83kLbAVV3hHnH5l2izzpa4cp78fTAUyCjj1PKF0jXErX75PjoVBTkVr5lKK1 dciQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=aQ/BVMUdOhW5Fz2BlXCJiiCo/uzypfQQpeg4xDo2hmQ=; b=fzZi445U865ZgnhHHRYkwxzjzowOLgcAVVmyJomd0edeFxuXWMMCn4owvV1ASOM/Zh 2iSgscl782DKyA9r8msvB2FzlZI9b66PP3UtpiMVq0o1lGctAjfioUMCNe51vY4KDBJ3 42sJJmk1UcMVkAE0lTsExNIIQeAUTv1MmZfVHRTNeRXCKcx+3Ra0cwx5Kvh1gk2Q9oiV /Oj5uOxiKVWG7Yh2r9wa1eFDX7EoFxKCc7bhxiFGDT0LpNgOtKo1DqI0/2NVwSIs0hW+ aCQ0WpJ/GwsYn87jr1Mzix++MM497p1rmD4nRHHa3Uxjp80e3kAu3JdSIJnLovvipMU/ XTbw== X-Gm-Message-State: AOAM533l0ZqxHDvDZz4XpcvQmRBVFvUgY93jPL0HN9f+yQRflwRjxBcs gcT9pEQKE3R7wV+LXhlggzg= X-Google-Smtp-Source: ABdhPJzqUSsYDUAkCEqZsvDlhcFZlyQ0vcRqoJe5YBQIjP8BJQj7tu1u4qTTOS8hS5IYEWsV1KOKXA== X-Received: by 2002:a17:90b:f10:: with SMTP id br16mr5178551pjb.65.1628902385271; Fri, 13 Aug 2021 17:53:05 -0700 (PDT) Received: from smtpclient.apple (2603-8001-7a00-01a0-c110-34ba-5474-75a9.res6.spectrum.com. [2603:8001:7a00:1a0:c110:34ba:5474:75a9]) by smtp.gmail.com with ESMTPSA id j185sm3487091pfb.86.2021.08.13.17.53.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Aug 2021 17:53:04 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Org + git branches for derived files From: Mark Barton In-Reply-To: <87czqh5gt1.fsf@gmail.com> Date: Fri, 13 Aug 2021 17:53:02 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <87czqh5gt1.fsf@gmail.com> To: Ken Mankoff X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=mbarton98@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1628902411; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=aQ/BVMUdOhW5Fz2BlXCJiiCo/uzypfQQpeg4xDo2hmQ=; b=caJkvnxJwAtddpmKHgQEIPzOKfC6uCUc2zyppHftS2CIXrpZQ0Wv24D7B+cH8GGW3qPX9S CleXo4+t8paMiBbLCoSa1b1+iF+L4jUCG7aBPhH5Kc5hDFMN2eH634EzwHObvNTmB00ulU Dj76+pRdVHcZNBYhj11Og8hV5wdp3DkiVcJSuByE7PKXShG3Z+aRNpRDCurEt5sq/Suq8m RcO+S7YN1VbQQmHPHoE17dWu8eGgZxgMyhJa517x15jOwqrji/zU7C0TgVi7qR3cJGZgpO W7GrBxrhNQk+lgG+GDVPoNk9BdXC1Zo7ZZfucffBpcfQIR00MzWUhwlisBMucg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1628902411; a=rsa-sha256; cv=none; b=QxusPnx8MOX7sMxdW9Aj/oEbL6lND7qt39AWZdKwAyKcwqqEp3KWez/WPbe4IV9yD/WJ2+ cQnNYfOVhq0e/oEUUDDCxdC2bgFpw2UZ7DmtEo2xzW7wqjEXyOAcQmNso3h70BIFPZbrl0 UxIpXgondB9pK0zlp2ytVk/NGd51+Vhye1jiST9tN4jmTmy1ngTPQMRiWhX/YtwlNxGFOn adb0IL40mpXN+KsLPKV1hsQ8m+3SypUEEk5YEx+FaX8A92BD3k+zYbDD699QlPwerAWk1i AJoblppK8qXUUGjkek88/GCE4PLCEHHlcWsn0jOhLWs4cyQaE00ucSXZEHytBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=X6JIeYYM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=X6JIeYYM; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 683D81B832 X-Spam-Score: -2.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: +DBbwzV/Yvgb Ken, You could consider using git-lfs, Large File Support. There is some = setup and then you can say track *.pdf and that will tell git to track = the binary file in a more efficient way. I use this mailing for csv = files that I want to have a snapshot version of with the Jupyter = notebook that used them. Once you are tracking the files with git-lfs, = they will be tracked with the normal git commits. I agree that the best practice is not to commit these types of files, = but sometimes it is handy to. By committing the PDF files to the repo, I = can use Working Copy, a git client, on my iPad to quickly reference a = document. Since the iPad cannot run Emacs, I am unable to regenerate the = PDF from there. Mark > On Aug 13, 2021, at 11:40 AM, Ken Mankoff wrote: >=20 > Hello, >=20 > I think this might be more of a git question than an Org question, but = I imagine I might find the answer here and that it might be useful to = others, so I ask here. >=20 > I'd like to keep derivative products (the LaTeX output, the final PDF, = etc.) available in Git, but not commit those changes each time I change = the Org file. Perhaps git-annex as appropriate for this, but seems = over-kill. >=20 > Is there some way to mostly-seamlessly commit the LaTeX and/or PDF = and/or other files to their own git branches but in a way that = overwrites the history of that branch, so that a small Org file that = generates a big binary PDF does not pollute the git tree? >=20 > Thanks, >=20 > -k. >=20