I have split one giant repo into several small ones. The old repo is still being comited to so I have to keep updating my new smaller ones.
I did this by doing this:
git subtree split -P some-sub-directory-in-my-large-repo/ -b branch-name-I-split
Obviously, I am trying to script this out, but I can't get past this:
cd my-smaller-repo
git pull /path-to-large-repo/ branch-name-I-split
And that of course brings me to the editor.
I need to just accept the default message and move on...
Any ideas?