Re: [git-users] how to push indepedent repos to individual branches in remote in git?

2015-11-30 Thread justrajdeep
Hi

That wont push it to the branch.

On Monday, November 30, 2015 at 3:12:06 PM UTC+5:30, Magnus Therning wrote:
>
> On Sat, Nov 28, 2015 at 06:48:35AM -0800, justrajdeep wrote: 
> > Hi 
> > 
> > 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? 
>
> What about `git push --all`? 
>
> /M 
>
> -- 
> Magnus Therning  OpenPGP: 0xAB4DFBA4 
> email: mag...@therning.orgjabber: mag...@therning.org 
>  
> twitter: magthe   http://therning.org/magnus 
>
> Of course I laugh at my own jokes. You can't trust strangers. 
>  -- Phyllis Diller 
>

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


[git-users] how to push indepedent repos to individual branches in remote in git?

2015-11-28 Thread justrajdeep
Hi

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?

Thanks in advance :)

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