Git和Amazon S3的 [英] git and Amazon s3

查看:361
本文介绍了Git和Amazon S3的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以设置Git和Amazon S3吗?在做这件事的方式任何想法?

Can I setup Git and Amazon S3? Any ideas on ways of doing it?

推荐答案

我的preferred方式来使用Git的一些远程存储(如丛林磁盘和I与Dropbox的使用方法)如下:

My preferred approach to using git with some remote storage (e.g. Jungle disk and the approach I use with Dropbox) is as follows:

  1. 创建一个本地工作回购
  2. (在一个同步文件夹,例如)创建一个裸露的回购在remotelysupplied存储
  3. 设置远程使用文件://协议
  4. 一键遥控器按需要

这意味着你是不依赖于VC的活动和交通远程连接上通过一个可能速度较慢的网络是尽可能高效。

This means that you are not dependent on the remote connection for VC activity and traffic over the a possibly slow network is as efficient as possible.

如果想让你可以添加一个后commit钩子推到远程自动的。

If wanted you can add a post commit hook to push to the remote automatically.

(很抱歉,但我不记得是谁的信用这一点,这不是我的主意)

(Sorry but I can't remember who to credit with this, it's not my idea)

这篇关于Git和Amazon S3的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆