On Sat, 28 Nov 2015 06:48:35 -0800 (PST)
justrajdeep <justrajd...@gmail.com> wrote:
> I want to push my entire local repo(present only with me) to a shared
> git repo as a branch in that.
> I can do something like
> git remote add local-remote $PATH_TO_REPO_LOCATION
> git push local-remote -u master:$TREE_BRANCH
> But this pushes only the master. Any way to push the whole thing with
> all its branches and everything?
git push local-remote 'refs/*:refs/*'
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
For more options, visit https://groups.google.com/d/optout.