mirror of
https://github.com/git/git.git
synced 2024-11-19 15:34:51 +01:00
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.)
22 lines
496 B
Text
22 lines
496 B
Text
|
|
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/
|