Netbeans 使用远程服务器 Git 工作副本 [英] Netbeans use Remote Server Git Working Copy

查看:51
本文介绍了Netbeans 使用远程服务器 Git 工作副本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要知道是否有办法使用 Netbeans 管理托管在开发服务器中的远程 git 工作副本,而没有项目的本地副本,因此使用本地 netbeans 管理 git 工作副本项目的所有提交托管在开发服务器中.

I need to know if there is a way to manage with Netbeans a remote git working copy that is hosted in a Dev Server with out have a local copy for the project, so manage all commits with local netbeans for git working copy project hosted in Dev Server.

任何建议都会对我有用.

Any advice will be use full to me.

谢谢.

推荐答案

假设远程服务器使用某些 Unix 或 Linux 变体,您可以使用 SSHFS 将远程目录挂载到本地文件系统上的目录.大多数情况下,它与本地计算机上的任何其他目录都无法区分.在 Ubuntu 中,您甚至不必使用命令行;打开文件浏览器,然后转到文件"菜单,然后选择连接到服务器",然后选择SSH",填写服务器名称、要挂载的文件夹和凭据(如果需要),您就可以开始了.

Assuming the remote server uses some Unix or Linux variant, you can use SSHFS to mount a remote directory to a directory on your local filesystem. For most purposes it will be indistinguishable from any other directory on your local machine. In Ubuntu, you don't even have to use the command line; open the file browser, then go to the File menu, and select "Connect to Server", then select type "SSH", fill in the server name, folder to mount, and credentials (if needed) and you're good to go.

这篇关于Netbeans 使用远程服务器 Git 工作副本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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