I have setup a subtree repo, with several subtrees that push to external
repositories.

Advertising

In the subtree checkout directory within my main project, I have made
changes, and then I commit them using git add a few times and then git
commit; but only on items that are in that particular sub-tree.
And then I cut a new branch for the changes in the remote repo from which
the repository came from.
And back in my main project I run:
git subtree push --prefix=<path-to-subtree> <remote-name> <new-branch-name>
And later I plan to merge the changes in that branch to the master branch
in the remote repository.
Is this the correct way to commit changes to an external subrepo from your
local project?
--
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.