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.)
2 lines
No EOL
109 B
Bash
2 lines
No EOL
109 B
Bash
# copy Git to where the rest of the Git scripts are found.
|
|
cp git-subtree.sh "$(git --exec-path)"/git-subtree |