问题
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