笔记本电脑和PC之间的git服务器(MS Windows 7) [英] git server between laptop and PC (MS Windows 7)

查看:103
本文介绍了笔记本电脑和PC之间的git服务器(MS Windows 7)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在笔记本电脑和个人电脑上都有git。我只想同步(推/拉)他们而不使用任何其他服务器。我的笔记本电脑和我的个人电脑都使用Windows 7.对我来说有没有简单的解决方案?我不能通过这样的指南
http://www.timdavis.com.au/git/setting-up-a-msysgit-server-with-copssh-on-windows/



因为他们要安装和配置很多东西。



问候,

解决方案

我为此任务使用了dropbox。我的Dropbox包含克隆到每个主机的git存储库。然后,您可以轻松推动并拉动它。

如果您尝试这种方法,您必须在您的保管箱中创建一个裸仓库。将此作为远程添加到本地。

另请参阅将Git和Dropbox有效地结合使用?


I have git on my laptop and on my PC. I just want to sync (push/pull) them without using any other server. Both of my laptop and my PC uses Windows 7. Is there any simple solution for me? I can not go through guides like this http://www.timdavis.com.au/git/setting-up-a-msysgit-server-with-copssh-on-windows/

because they to install and configure many things.

Regards,

解决方案

I use dropbox for this task. My dropbox contains the git repositories, which are cloned to each host. Then you could easily push and pull against it.

If you try this approach you have to create a bare repository in your dropbox. Add this as remote to your local one.

See also Using Git and Dropbox together effectively?

这篇关于笔记本电脑和PC之间的git服务器(MS Windows 7)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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