Tuesday, September 27, 2011

Manage git repos on S3

Use jgit to manage git repos on Amazon S3

Download jgit.sh from here and put jgit in your $HOME path

Make a .jgit file in your home directory and put

accesskey: *******************
secretkey: ********************



Make a bucket for git repos say git-repos

Now got to your project directory and add a remote for Amazon S3

>cd git_project

>git remote add s3 amazon-s3://.jgit@git-repos/git_project.git



>git push s3 branch

and it's done.

thanks to following bloggers

gabrito

spearce









1 comment:

Followers