emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Wiegley <johnw@newartisans.com>
To: emacs-orgmode@gnu.org
Subject: Re: Using git-annex with org-attach
Date: Mon, 22 Oct 2012 16:31:45 -0500	[thread overview]
Message-ID: <m2wqyib3cu.fsf@newartisans.com> (raw)
In-Reply-To: <m2wqylvuhe.fsf@newartisans.com> (John Wiegley's message of "Sat, 20 Oct 2012 07:59:09 -0700")

>>>>> John Wiegley <johnw@newartisans.com> 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

  parent reply	other threads:[~2012-10-22 21:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-20 14:59 Using git-annex with org-attach John Wiegley
2012-10-22  9:43 ` tnx (was: Re: Using git-annex with org-attach) Giovanni Ridolfi
2012-10-22 21:31 ` John Wiegley [this message]
2012-10-24 14:06 ` Using git-annex with org-attach Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2wqyib3cu.fsf@newartisans.com \
    --to=johnw@newartisans.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).