Windows 机器上的 Gitolite 客户端
我是一名开发人员,最近我的公司决定使用 Gitolite
存储库。
我在 Windows 计算机上工作,并使用 PuTTYgen 创建了我的私钥/公钥,并将我的公钥发送给存储库管理员,他将我作为开发人员添加到该项目中。
我正在使用安装了 Git 插件的 Netbeans。
我的问题是:我是否需要安装其他任何东西才能将本地存储库推送到远程服务器? Msysgit 是否需要安装?我还需要进行一些其他配置吗?
I am a developer and recently my company have decided to work with Gitolite
repository.
I work on a Windows machine and I have created my private/public key using PuTTYgen and I sent my public key to repository administrator and he added me as a developer to the project.
I am using Netbeans with Git plugin installed.
My questions are: Do I need to install anything else to push my local repository to the remote server? Msysgit is necessary to be installed or not? Do I need some other configurations to make?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您所需要的只是
git+ssh
协议的推/拉:所以如果你可以使其中任何一个 pugin 用于推送,您不需要 msysgit (使用 msysgit就意味着离开Netbeans 执行 Git 操作)。
All you need is push/pull of
git+ssh
protocol:So if you can make either one of those pugin work for push, you don't require msysgit (using msysgit would mean leaving Netbeans to perform Git operations).
除了调解访问之外,Gitolite 应该对客户端和服务器操作完全透明。
在客户端上,这意味着它只是另一个基于 ssh 的 git URL。就我个人而言,我讨厌 putty/plink,但我知道它们(可以)工作。有人向 gitolite 文档贡献了 putty.mkd;你可以在那里检查。
在服务器上,这意味着它只是另一个裸存储库,只是它有一个特殊的“更新”挂钩,您不能乱动。否则没有什么区别。
Gitolite is supposed to be completely transparent to both client and server operations except to mediate access.
On the client this means it's just another ssh based git URL. Personally I hate putty/plink but I know they (can be made to) work. Someone contributed putty.mkd to gitolite docs; you can check there.
On the server this means it's just another bare repository, except it has a special 'update' hook that you must not fiddle with. Otherwise there's no difference.