c00d1d1168
Now you can do: git subtree add --prefix=whatever git://wherever branchname to add a new branch, instead of rather weirdly having to do 'git fetch' first. You can also split and push in one step: git subtree push --prefix=whatever git://wherever newbranch (Somewhat cleaned up by apenwarr.)
23 lines
496 B
Plaintext
23 lines
496 B
Plaintext
|
|
HOW TO INSTALL git-subtree
|
|
==========================
|
|
|
|
You simply need to copy the file 'git-subtree.sh' to where
|
|
the rest of the git scripts are stored.
|
|
|
|
From the Git bash window just run:
|
|
|
|
install.sh
|
|
|
|
Or if you have the full Cygwin installed, you can use make:
|
|
|
|
make install
|
|
|
|
That will make a 'git subtree' (note: space instead of dash) command
|
|
available. See the file git-subtree.txt for more.
|
|
|
|
You can also install the man page by doing:
|
|
|
|
make doc
|
|
cp git-subtree.1 /usr/share/man/man1/
|