Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

`subrepo pull <reponame>` support? #5

kentfredric opened this Issue Feb 28, 2014 · 1 comment


None yet
2 participants

kentfredric commented Feb 28, 2014

I'm used to using subtree pull <github> and conversely subtree push <localrepo>,
because I always want to sync with the latest published history, but if I'm pushing history, I want to push locally and to a target branch so I can iron out any merge problems before the change gets pushed publically.

This is because each repository with a sub-repo is effectively a unique branch deviating from $origin, and a plain push will thus likely be akin to "git push $origin -f "

So instead, I push the hydra of heads to a single repo to resolve merge problems locally.


ingydotnet commented Mar 2, 2014

I added a --remote flag for pull and push. (and --branch too). When push and pull are working as expected, these flags will give you what you want.

@ingydotnet ingydotnet closed this Mar 2, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment