开发者

Gitolite client side on Windows machine

开发者 https://www.devze.com 2023-02-23 17:21 出处:网络
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 t

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?


All you need is push/pull of git+ssh protocol:

  • NbGit uses JGit, which should support that feature by now
  • Netbeans Git plugin (Oracle) might not support yet the push feature (according to their plan)

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 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号