rebase: teach rebase --keep-base
[git/git.git] / contrib / subtree / INSTALL
CommitLineData
634392b2
DG
1HOW TO INSTALL git-subtree
2==========================
3
926b1ec6
DG
4First, build from the top source directory.
5
6Then, in contrib/subtree, run:
7
8 make
9 make install
10 make install-doc
634392b2 11
926b1ec6
DG
12If you used configure to do the main build the git-subtree build will
13pick up those settings. If not, you will likely have to provide a
14value for prefix:
634392b2 15
926b1ec6
DG
16 make prefix=<some dir>
17 make prefix=<some dir> install
18 make prefix=<some dir> install-doc
634392b2 19
926b1ec6
DG
20To run tests first copy git-subtree to the main build area so the
21newly-built git can find it:
634392b2 22
926b1ec6 23 cp git-subtree ../..
634392b2 24
926b1ec6 25Then:
634392b2 26
926b1ec6 27 make test
634392b2 28