代码拉取完成,页面将自动刷新
DEPENDENCIES
To build git-crypt, you need:
Debian/Ubuntu package RHEL/CentOS package
-----------------------------------------------------------------------------
Make make make
A C++11 compiler (e.g. gcc 4.9+) g++ gcc-c++
OpenSSL development files libssl-dev openssl-devel
To use git-crypt, you need:
Debian/Ubuntu package RHEL/CentOS package
-----------------------------------------------------------------------------
Git 1.7.2 or newer git git
OpenSSL openssl openssl
Note: Git 1.8.5 or newer is recommended for best performance.
BUILDING GIT-CRYPT
Run:
$ make
$ make install
To install to a specific location:
$ make install PREFIX=/usr/local
Or, just copy the git-crypt binary to wherever is most convenient for you.
BUILDING THE MAN PAGE
To build and install the git-crypt(1) man page, pass ENABLE_MAN=yes to make:
$ make ENABLE_MAN=yes
$ make ENABLE_MAN=yes install
xsltproc is required to build the man page. Note that xsltproc will access
the Internet to retrieve its stylesheet unless the Docbook stylesheet is
installed locally and registered in the system's XML catalog.
BUILDING A DEBIAN PACKAGE
Debian packaging can be found in the 'debian' branch of the project
Git repository. The package is built using git-buildpackage as follows:
$ git checkout debian
$ git-buildpackage -uc -us
INSTALLING ON MAC OS X
Using the brew package manager, simply run:
$ brew install git-crypt
EXPERIMENTAL WINDOWS SUPPORT
git-crypt should build on Windows with MinGW, although the build system
is not yet finalized so you will need to pass your own CXX, CXXFLAGS, and
LDFLAGS variables to make. Additionally, Windows support is less tested
and does not currently create key files with restrictive permissions,
making it unsuitable for use on a multi-user system. Windows support
will mature in a future version of git-crypt. Bug reports and patches
are most welcome!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。