Skip to content

Commit 926b1ec

Browse files
committed
Fix git-subtree install instructions
Update the install instructions to reflect the changes for an integrated git-subtree. Signed-off-by: David A. Greene <[email protected]>
1 parent 311391d commit 926b1ec

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

contrib/subtree/INSTALL

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,28 @@
1-
21
HOW TO INSTALL git-subtree
32
==========================
43

5-
You simply need to copy the file 'git-subtree.sh' to where
6-
the rest of the git scripts are stored.
4+
First, build from the top source directory.
5+
6+
Then, in contrib/subtree, run:
7+
8+
make
9+
make install
10+
make install-doc
711

8-
From the Git bash window just run:
12+
If you used configure to do the main build the git-subtree build will
13+
pick up those settings. If not, you will likely have to provide a
14+
value for prefix:
915

10-
install.sh
16+
make prefix=<some dir>
17+
make prefix=<some dir> install
18+
make prefix=<some dir> install-doc
1119

12-
Or if you have the full Cygwin installed, you can use make:
20+
To run tests first copy git-subtree to the main build area so the
21+
newly-built git can find it:
1322

14-
make install
23+
cp git-subtree ../..
1524

16-
That will make a 'git subtree' (note: space instead of dash) command
17-
available. See the file git-subtree.txt for more.
25+
Then:
1826

19-
You can also install the man page by doing:
27+
make test
2028

21-
make doc
22-
cp git-subtree.1 /usr/share/man/man1/

0 commit comments

Comments
 (0)