windows上搭建ssh的git服务器,结果git操作的命令不管用啊
PHPz
PHPz 2017-05-02 09:33:42
0
4
716

windows上操作git的服务器搭建好了ssh连接登录都可以,
就是使用git的命令之后出现下面的错误,该试的方法都试了,
国外的网站的方法也看了,不管用,不知道是不是哪里的问题没处理到。

git@joky /home/git/test.git
$ git init --bare
/usr/bin/git.exe: error while loading shared libraries: ?: cannot open shared object file: No such file or directory

PHPz
PHPz

学习是最好的投资!

reply all(4)
黄舟

Please provide more information, such as windows的版本, git服务器的软件和版本, gityour own software and version, otherwise I will not be able to reproduce your problem.

Judging from the error message, it indicates that the dynamic library file is missing. It is guessed that it may be an installation problem of the git software. You can try git for windows.

Peter_Zhu

The problem has been solved. It took more than two weeks. The git server on Windows is faster to build on Linux. .
The solution is still solved by foreign blogs,

This is how it was originally done, but due to the slash problem in the path, it should be the opposite on Windows, as in the following example
gitpath='C:Gitbin'
gitcorepath='C:Gitmingw32libexecgit-core'
export PATH="/bin :$gitpath:$gitcorepath
The result has always been tragic. However, I always knew that the problem was a path problem, but I just didn’t know how to configure it. Now that the problem is solved, I hope this problem will be helpful to everyone

!
PHPzhong

It turns out that you stole this name and I couldn’t register it with git→_→

洪涛

Use Gogs, just use an exe software and run it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template