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

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

2015-11-30 Thread Konstantin Khomoutov
On Mon, 30 Nov 2015 21:23:24 +0530 rajdeep mondal wrote: > I tried something like > > git push local-remote -u 'refs/*:refs/$TREE_BRANCH/*' > > it did not work as expected. I wonder what was expected then. To me, your invocation looks strange at best. Can you try to

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

2015-11-30 Thread Konstantin Khomoutov
On Sat, 28 Nov 2015 06:48:35 -0800 (PST) justrajdeep 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

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

2015-11-30 Thread rajdeep mondal
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 wrote:

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

2015-11-30 Thread rajdeep mondal
Hi 1. i have repos: A with branches A1, A2, A3 B with branches B1, B2, B3 etc 2. i want to push these 2 independent repo to a central repo MY_REPO as branch A and branch B 3. The A1, A2, A3 are subbranches of branch A 4. B1, B2. B3 are subbranches of the branch B - rajdeep

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

2015-11-30 Thread Konstantin Khomoutov
On Mon, 30 Nov 2015 23:15:32 +0530 rajdeep mondal wrote: > 1. i have repos: > A with branches A1, A2, A3 > B with branches B1, B2, B3 etc > > 2. i want to push these 2 independent repo to a central repo MY_REPO > > as branch A and branch B > > > 3. The

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

2015-11-30 Thread rajdeep mondal
Thanks. I will try it out. On Tue, Dec 1, 2015 at 1:08 AM, Konstantin Khomoutov < flatw...@users.sourceforge.net> wrote: > On Mon, 30 Nov 2015 23:15:32 +0530 > rajdeep mondal wrote: > > > 1. i have repos: > > A with branches A1, A2, A3 > > B with branches B1,

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

2015-11-30 Thread Magnus Therning
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

[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