File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,10 @@ How to Install
6
6
.. contents ::
7
7
8
8
9
- First you need to install the latest version of libgit2. You can find
10
- platform-specific instructions to build the library in the libgit2 website:
9
+ First you need to install the latest release of libgit2. If you clone
10
+ the repository, make sure to use the ``master `` branch. You can find
11
+ platform-specific instructions to build the library in the libgit2
12
+ website:
11
13
12
14
http://libgit2.github.com
13
15
@@ -55,7 +57,7 @@ instructions in the libgit2 ``README.md``):
55
57
56
58
.. code-block :: sh
57
59
58
- $ git clone git://github.com/libgit2/libgit2.git
60
+ $ git clone -b master git://github.com/libgit2/libgit2.git
59
61
$ mkdir libgit2/build
60
62
$ cd libgit2/build
61
63
$ cmake ..
@@ -105,7 +107,7 @@ from a bash shell:
105
107
.. code-block :: sh
106
108
107
109
$ export LIBGIT2=C:/Dev/libgit2
108
- $ git clone git://github.com/libgit2/libgit2.git
110
+ $ git clone -b master git://github.com/libgit2/libgit2.git
109
111
$ cd libgit2
110
112
$ mkdir build
111
113
$ cd build
You can’t perform that action at this time.
0 commit comments