gitcore 源代码安装

今天想弄一个git装,发现公司无法访问官网。

回家也发现官网一直无法登陆,后来搞到要上梯子……

最后发现竟然下载地址就是公司里可以访问的google code

http://code.google.com/p/git-core/downloads/list

git安装依赖
(INSTALL)文件说

zlib ,ssh, openssl perl 基本必须的,应该也都有,其它都可以忽略。

- "zlib", the compression library. Git won't build without it.

- "ssh" is used to push and pull over the net.

- A POSIX-compliant shell is required to run many scripts needed
for everyday use (e.g. "bisect", "pull").

- "Perl" version 5.8 or later is needed to use some of the
features (e.g. preparing a partial commit using "git add -i/-p",
interacting with svn repositories with "git svn"). If you can
live without these, use NO_PERL.

- "openssl" library is used by git-imap-send to use IMAP over SSL.
If you don't need it, use NO_OPENSSL.

By default, git uses OpenSSL for SHA1 but it will use it's own
library (inspired by Mozilla's) with either NO_OPENSSL or
BLK_SHA1. Also included is a version optimized for PowerPC
(PPC_SHA1).

- "libcurl" library is used by git-http-fetch and git-fetch. You
might also want the "curl" executable for debugging purposes.
If you do not use http:// or https:// repositories, you do not
have to have them (use NO_CURL).

- "expat" library; git-http-push uses it for remote lock
management over DAV. Similar to "curl" above, this is optional
(with NO_EXPAT).

- "wish", the Tcl/Tk windowing shell is used in gitk to show the
history graphically, and in git-gui. If you don't want gitk or
git-gui, you can use NO_TCLTK.

原文地址:https://www.cnblogs.com/morya/p/2193547.html