emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Using git-annex with org-attach


From: John Wiegley
Subject: Re: [O] Using git-annex with org-attach
Date: Mon, 22 Oct 2012 16:31:45 -0500
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2 (darwin)

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



reply via email to

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