emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: Keeping org files under git - trimming the repository


From: Matt Lundin
Subject: [Orgmode] Re: Keeping org files under git - trimming the repository
Date: Tue, 04 Aug 2009 08:31:13 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Ben Alexander <address@hidden> writes:

> About a year ago, I decided to learn how to write "macros" in lisp and
> started by teaching myself about the after-save-hook.  I added a hook
> to auto commit every time I saved any org file.  My simple, small text
> file of todo items is now a giant git repository.
>
> At last a question or two: Does this happen to you? What do you do?
> What new git command do I need to learn in order to do it?

Have you tried running either "git gc" or "git repack" on the repo? I
find that running these two maintenance commands every once and a while
dramatically reduces the size of the repository.

Best,
Matt




reply via email to

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