Using remote host as working directory, git extensions

 ̄綄美尐妖づ 提交于 2019-12-24 03:04:36

问题


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


回答1:


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.



来源:https://stackoverflow.com/questions/10163176/using-remote-host-as-working-directory-git-extensions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!