views:

896

answers:

2

In my development environment at home I want to install msysgit im my local machine and in a server that I have.

The goal is to develop in my local machine and then pushing it to the server (remote repository), for the nightly builds.

Unfortunately, I can't seem to config the server's msysgit installation to be a remote repository. How can I do that?

A: 

I'm assuming you want your remote repository in a windows machine.

The easiest way to share a bare git repository in windows is using cygwin. You install sshd deamon and the git packages and you configure some users and you can start pushing to the remote repository.

Maybe you can try to install gitosis in the server machine is you have many repositories and users to share the repositories.

Aragorn
Yes, I want a remote repository in a windows machine. But I would like to know if it's possible to use msysgit for that...
Rodrigo Guerreiro
A: 

The easiest way would be to share the repository and map it to the local machine, then you could push to it just like to another local repository.

Another solution would be to serve the remote repository through an Webdav enabled HTTP server (Apache should work ok).

For other solutions, see the Setting up Git server section on my blog: Git resources

alexandrul