笔记本电脑和PC之间的git服务器(MS Windows 7) [英] git server between laptop and PC (MS Windows 7)
问题描述
我在笔记本电脑和个人电脑上都有git。我只想同步(推/拉)他们而不使用任何其他服务器。我的笔记本电脑和我的个人电脑都使用Windows 7.对我来说有没有简单的解决方案?我不能通过这样的指南
http://www.timdavis.com.au/git/setting-up-a-msysgit-server-with-copssh-on-windows/
因为他们要安装和配置很多东西。
问候,
我为此任务使用了dropbox。我的Dropbox包含克隆到每个主机的git存储库。然后,您可以轻松推动并拉动它。
如果您尝试这种方法,您必须在您的保管箱中创建一个裸仓库。将此作为远程添加到本地。
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屋!