Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

__THIS REPO IS OBSOLETE__ - future development is in https://github.com/helmo/git/tree/subtree-updates - An experimental alternative to the git-submodule command. Merges and splits subtrees from your project into subprojects and back.

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore
Octocat-spinner-32 COPYING
Octocat-spinner-32 Makefile
Octocat-spinner-32 README.md
Octocat-spinner-32 asciidoc.conf
Octocat-spinner-32 git-subtree
Octocat-spinner-32 git-subtree.deb
Octocat-spinner-32 git-subtree.sh
Octocat-spinner-32 git-subtree.txt
Octocat-spinner-32 install.sh
Octocat-spinner-32 manpage-base.xsl
Octocat-spinner-32 manpage-normal.xsl
Octocat-spinner-32 shellopts.sh
Octocat-spinner-32 test.sh
Octocat-spinner-32 todo
README.md

git-subtree

git-subtree allows subprojects to be included within a sub-directory of a main project, optionally including the sub-project's entire history.

Installation

Choose one of the following ways to install git-subtree:

  1. Copy the file git-subtree.sh to where all other git scripts are stored (git --exec-path will tell you this).
  2. Run install.sh in a Git-enabled shell (that's "Git Bash" on Windows).
  3. Run make install in 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/

Usage

See git-subtree.txt for details.

Known issues

See todo.

License

You may use this software under the terms of the GNU General Public License (GPL), Version 2.

See COPYING.

Credits

Originally authored by Avery Pennarun, http://apenwarr.ca/log

Please do not contact the author using github mail. Instead, apenwarr@gmail.com

Something went wrong with that request. Please try again.