File tree Expand file tree Collapse file tree 1 file changed +18
-12
lines changed
Expand file tree Collapse file tree 1 file changed +18
-12
lines changed Original file line number Diff line number Diff line change 1-
21HOW 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/
You can’t perform that action at this time.
0 commit comments