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
-
2
1
HOW TO INSTALL git-subtree
3
2
==========================
4
3
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
7
11
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:
9
15
10
- install.sh
16
+ make prefix=<some dir>
17
+ make prefix=<some dir> install
18
+ make prefix=<some dir> install-doc
11
19
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:
13
22
14
- make install
23
+ cp git-subtree ../..
15
24
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:
18
26
19
- You can also install the man page by doing:
27
+ make test
20
28
21
- make doc
22
- cp git-subtree.1 /usr/share/man/man1/
You can’t perform that action at this time.
0 commit comments