Hi

I tried something like

git push local-remote -u 'refs/*:refs/$TREE_BRANCH/*'

it did not work as expected.



On Mon, Nov 30, 2015 at 9:21 PM, Konstantin Khomoutov <
flatw...@users.sourceforge.net> wrote:

> 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?
>
> How about
>
>   git push local-remote 'refs/*:refs/*'
>
> ?
>



-- 
==============================
Rajdeep

Nvidia Graphics Pvt Ltd

C-1 Wing A  ' Jacaranda'

Manyata Embassy Business Park

Outer Ring Road

Bangalore -560045
India
==============================

-- 
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.

Reply via email to