From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Wiegley Subject: Re: Using git-annex with org-attach Date: Mon, 22 Oct 2012 16:31:45 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQPbC-00066I-3f for emacs-orgmode@gnu.org; Mon, 22 Oct 2012 17:31:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQPbB-0007kR-1N for emacs-orgmode@gnu.org; Mon, 22 Oct 2012 17:31:50 -0400 Received: from mail-ia0-f169.google.com ([209.85.210.169]:55850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQPbA-0007ja-R4 for emacs-orgmode@gnu.org; Mon, 22 Oct 2012 17:31:48 -0400 Received: by mail-ia0-f169.google.com with SMTP id h37so3163150iak.0 for ; Mon, 22 Oct 2012 14:31:47 -0700 (PDT) In-Reply-To: (John Wiegley's message of "Sat, 20 Oct 2012 07:59:09 -0700") 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 >>>>> John Wiegley writes: > The value of git-annex is that it lets you associate truly huge files with a > Git repository that are check-summed and easily archived, which you can then > drop from your local attachments directory when you no longer need the file > there. Later, if you need files that you dropped, use `C-c C-a F' and `M-! > git annex get . RET' to re-download those attachments back into your local > repo. I have some further git-annex integration here: https://github.com/jwiegley/git-annex-el In particular, when you use C-c C-a F to visit the attachments directory in dired, locally available annexed files will be green, and locally unavailable files will be red. Use @g to get unavailable files from another reachable repository, and @d to drop them from your local repository. If you open the file in Emacs and type C-x C-q to make it editable, this will automatically do a "git annex edit", and when the buffer dies it will "git annex add" the new version and then do a "git commit" automatically. John