Transferred from: http://www.360doc.com/content/12/0503/11/1016783_208316518.shtml
Most of the GIT servers currently on the Windows platform are implemented in a copssh+msysgit way, which is also the most authentic way to build a git server on a Windows platform, providing the highest level of security and flexibility. But the downside is that it's still a hassle to build, and if you can have a git version of a visualsvn-like server build package, it's better for git on the Windows platform.
I recommend here a---gitstack to deploy and build the most convenient version of the GIT server for Windows today. Gitstack internal Apache HTTP server as a server, using the HTTP protocol to the GIT package, the integration is relatively complete, after installation simple configuration can be used. But now the function is very simple, look forward to in the follow-up development step by step to perfect up.
1. Download Gitstack
: http://gitstack.com/download/
A simple installation and usage instructions are also available at http://gitstack.com/getting-started/.
The package exceeded 80M, because the Apache HTTP server and Msysgit were integrated simultaneously.
2. Installation
With the installation of other Windows software indistinguishable.
Note the installation path:
Since the current Gitstack version (V1.2) git repository can only be saved in the repositories directory of the GIT installation directory (if Gitstack is installed under C:\GitStack, all git repositories will be located in C:\GitStack\ Repositories directory), from the code base and data security considerations, it is best to install gitstack on a non-system disk or use the cloud synchronization software at any time to sync in the cloud.
3. Configuration
After the installation is completed in the browser access to Http://localhost/gitstack can access the Gitstack configuration interface, the first time to log in to enter the Admin:admin, in the future can be changed in the setting Interface admin login password.
Then create an account for the development team members in the user interface:
You can now go to the Respositorys interface to create the project, and you will need to select the user name in the users domain in the action to access the warehouse:
You can now see a test.git directory in the \gitstack\repositories directory that holds all the metadata for the test repository.
4. Accessing the Git repository
Once the Git repository is created, you can access it using a git client such as git bash:
You can see nothing in the test repository at this time, and after creating a file, commit and push to the server:
New commits are immediately visible in the test repository of the GIT server:
Summarize:
From the present simple use, gitstack although the implementation of the function is relatively simple, but as a valid version management tool is sufficient, deployment and use is also very convenient, no cumbersome configuration and installation process, is ideal for small and medium-sized development teams that do not require cumbersome access to the model.
The simplest Windows platform git server---gitstack "Go"