git-subtree allows subprojects to be included within a sub-directory of a main project, optionally including the sub-project's entire history.
Choose one of the following ways to install git-subtree:
- Copy the file
git-subtree.shto where all other git scripts are stored (
git --exec-pathwill tell you this).
install.shin a Git-enabled shell (that's "Git Bash" on Windows).
make installin a Cygwin-enabled shell.
Any one of these actions makes the
git subtree command available (note: space instead of dash).
To additionally install the man page:
make doc cp git-subtree.1 /usr/share/man/man1/
git-subtree.txt for details.
You may use this software under the terms of the GNU General Public License (GPL), Version 2.
Originally authored by Avery Pennarun, http://apenwarr.ca/log
Please do not contact the author using github mail. Instead, email@example.com