23

I have a windows server which I can access locally or remotely over the internet through remote desktop connection, etc.

I want to set up a git repository (something similar to "trunk" in subversion), that can contain a series of repositories for multiple projects.

Does anyone know how I go about doing this? I want to do it using a GUI if possible. I have followed this Git Bash Tutorial but it's very long winded and not exactly what I'm after.

I'm using a Git client called MSYSGIT. Using this I just want to be able to set up remote repositories and start committing source code.

Any help would be greatly appreciated!

stukelly
  • 1,015
Goober
  • 361

12 Answers12

14

These days there is a "smart HTTP" upload feature, might even supersede the SSH access. No more private key generating is required, and installing should be easier, because the server component can be written in any language of choice:

If all fails, you can also choose to setup an Apache server, and use the standard git-http-backend CGI binary, see: What are the steps to setup git-http-backend w/ Apache on Windows?

vdboor
  • 3,940
2

You could look into using Cygwin + SSH + Gitosis to serve those needs, but unfortunately it will not be a simple point-and-click setup process. I have written a detailed blog post on my recent experiences (including setup procedure).

As for your requirement for this to be a primarily graphical experience, I would recommend all your client systems have TortoiseGit installed. This will prevent the need for using the command line for adding, commiting, push/pulling and so on.

2

Found this post - http://www.timdavis.com.au/git/setting-up-a-msysgit-server-with-copssh-on-windows/ - check that out which should help.

(help me greatly)

Edit: the post is no longer up but still available trough wayback machine

Gust
  • 3
2

Gogs is certainly worth a look: easy to use (several supported installation options), cross-platform (including Windows), lightweight, open source.

1

Here are some options:

1

Here's an alternative windows server for git https://github.com/jakubgarfield/Bonobo-Git-Server/wiki

Daniel O
  • 1,085
1

You can set it up under Cygwin:

If you go for cygwin, you could do so only on the server and run git-daemon under cygwin, but still use msysgit on the clients.

Making git work properly from cygwin

rkthkr
  • 8,728
0

You don't need to use Cygwin just add CopSSH and your good to go. http://code.google.com/p/tortoisegit/wiki/HOWTO_CentralServerWindowsXP

DalSoft
  • 101
0

And here's yet another alternative windows server for git: WebGitNet

cregox
  • 187
  • 1
  • 9
0

GitStack is the one I'm currently evaluating.

As I'm beginning this process too (setting up Git server on Windows), and this discussion is over a year old, I thought I'd add that to the mix.

RyanW
  • 528
0

Gitlab is a great solution, and includes a web based interface. To make it work within your requirements.

  1. Turn on hyperV on your windows server
  2. Spin up a Linux VM
  3. Install Gitlab on the VM
Eric
  • 554
0

If you have a 5-10 developer team, I would suggest go with vanilla git with ssh. Easy to setup and you have ssh to protect data in transit.

If you have multiple teams with some healthy turnover, assuming you have Windows active directory running, you might want to consider Atlassian bitbucket. We use bitbucket mainly for the following requirement: 1. Manage git repositories as projects, where we can provide self-service access control at project level. 2. LDAP login integration with AD group sync 3. Very low administrative effort