Code

Added new 'push' command and 2-parameter form of 'add'.
authorWayne Walter <wayne@tickzoom.com>
Sat, 13 Feb 2010 19:32:21 +0000 (14:32 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sat, 13 Feb 2010 19:45:04 +0000 (14:45 -0500)
commitc00d1d11688dc02f066196ed18783effdb7767ab
tree6020c66048e9cec6ee491881e2a5b4c1e6a9fd1b
parentae3301876cfea3b7260fbe0840635d508968a047
Added new 'push' command and 2-parameter form of 'add'.

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.)
INSTALL
git-subtree.sh
git-subtree.txt
install.sh [new file with mode: 0644]