-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix git-subtree install instructions
Update the install instructions to reflect the changes for an integrated git-subtree. Signed-off-by: David A. Greene <greened@obbligato.org>
- Loading branch information
David A. Greene
committed
Apr 10, 2012
1 parent
311391d
commit 926b1ec
Showing
1 changed file
with
18 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,28 @@ | ||
|
||
HOW TO INSTALL git-subtree | ||
========================== | ||
|
||
You simply need to copy the file 'git-subtree.sh' to where | ||
the rest of the git scripts are stored. | ||
First, build from the top source directory. | ||
|
||
Then, in contrib/subtree, run: | ||
|
||
make | ||
make install | ||
make install-doc | ||
|
||
From the Git bash window just run: | ||
If you used configure to do the main build the git-subtree build will | ||
pick up those settings. If not, you will likely have to provide a | ||
value for prefix: | ||
|
||
install.sh | ||
make prefix=<some dir> | ||
make prefix=<some dir> install | ||
make prefix=<some dir> install-doc | ||
|
||
Or if you have the full Cygwin installed, you can use make: | ||
To run tests first copy git-subtree to the main build area so the | ||
newly-built git can find it: | ||
|
||
make install | ||
cp git-subtree ../.. | ||
|
||
That will make a 'git subtree' (note: space instead of dash) command | ||
available. See the file git-subtree.txt for more. | ||
Then: | ||
|
||
You can also install the man page by doing: | ||
make test | ||
|
||
make doc | ||
cp git-subtree.1 /usr/share/man/man1/ |