使用远程主机作为工作目录,git扩展 [英] Using remote host as working directory, git extensions

查看:215
本文介绍了使用远程主机作为工作目录,git扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不是克隆存储库,而是开发&在本地进行测试,我们的项目必须托管在服务器上,并在那里进行测试,由于许可限制(在特定的域名,特定的路径内,特定的IP允许等等)



<因此,我们不能设置本地测试环境,我们必须使用中央存储库,并将其用作远程工作目录。

开发小组希望使用 git extensions(gui)

有没有办法设置git扩展来打开远程作为工作目录并对其执行操作,而不是本地?当对服务器测试存储库进行任何更改时,它们应该出现在临时区域中。



请参阅图片 below(large)例如

解决方案

使用某种远程桌面软件,登录到远程盒子并在那里工作。



你可能会说但在这种情况下,只有一个人可以在一次。那就对了。如果使用远程目录作为工作目录,情况也是如此。

或者至少:它应该是。

多个用户在相同工作副本对我来说听起来不太可行。


Instead of cloning a repository and developing & testing locally, our project has to be hosted on the server and tested there, due to licensing restrictions (operate on particular domain, within a specific path, specific IP allowed, etc)

Therefore we cannot setup local test environments, we have to use a central repository and use that as a sort of "remote working directory"

The development team would like to use git extensions (gui)

Is there anyway of setting up git extensions to open a remote as a working directory and act on it, instead of a local one? When any changes are made to the server test repository, they should appear in the staging area.

Please see the picture below (large) for example

解决方案

If you really need that, use some kind of remote desktop software, log in to the remote box and work there.

You might say "but in that case, only one person could develop at a time". That's right. And that would also be the case if you use a remote directory as working directory.
Or at least: it should be.
Having multiple users work on the same working copy doesn't sound feasible to me.

这篇关于使用远程主机作为工作目录,git扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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