git server windows 安装(未完结)

使用msysgit,不需要使用cynwin模拟unix环境。

1:下载安装msysgit

http://msysgit.github.io/

3:使用git-bash,切换到要配置为服务器的目录。

  git init --bare

3:使用git-bash输入

  git daemon --base-path=C:/git --export-all --enable=receive-pack

  (默认监听9418)

4:使用eclipse连接到git服务器,进行发布、获取、修改。

暂时研究到这里,一下是关联的一些工具解释

  • msysGit - is the name of this project, a build environment for Git for Windows, which releases the official binaries
  • MinGW - is a minimalist development environment for native Microsoft Windows applications.
  • MSYS - is a Bourne Shell command line interpreter system, is used by MinGW (and others), was forked _in the past_ from Cygwin
  • Cygwin - a Linux like environment, which was used in the past to build Git for Windows, nowadays has no relation to msysGit
原文地址:https://www.cnblogs.com/javaleon/p/3985631.html