Re: [JGIT] Problem using API to create a repository in Amazon S3
- From
Shawn Pearce <spearce@spearce.org>
- Date
- May 31, 2011, 13:56 UTC
- Message-ID
- <BANLkTinh7RFW8aSVndrKZp4nmPw+fPBzUw@mail.gmail.com>
- In-Reply-To
- <1306833290555-6421952.post@n2.nabble.com>
On Tue, May 31, 2011 at 02:14, DCWoods <dwoodsnz@gmail.com> wrote:
> I am writing an application that I want to be able to control git using > Amazon S3 for the storage. I want the application to be able to create a > new git repository in S3, commit files that are created dynamically by the > application, and then later update and retrieve them.
You can't really use a repository on S3, you can only fetch from it or push to it. So you would need to have a local repository that has a copy of everything, work on the local repository, and at specific "checkpoints" push the local repository to S3 for backups.
-- Shawn.