Can you try this. first you have to get the meta data clone of the master repository
*git clone URL -n* then you can do the branch *git checkout -b branch1 * then you can push it *git push -u origin branch1* *Harsha Thirimanna* Senior Software Engineer; WSO2, Inc.; http://wso2.com * <http://www.apache.org/>* * email: **[email protected]* <[email protected]>* cell: +94 71 5186770 , +94 * *774617784 twitter: **http://twitter.com/ <http://twitter.com/afkham_azeez>* *harshathirimann linked-in: **http: <http://lk.linkedin.com/in/afkhamazeez>**//www.linkedin.com/pub/harsha-thirimanna/10/ab8/122 <http://www.linkedin.com/pub/harsha-thirimanna/10/ab8/122>* *Lean . Enterprise . Middleware* On Thu, Jul 24, 2014 at 10:11 PM, Ayesha Dissanayaka <[email protected]> wrote: > Hi Samith, > > I think using git-hub UI as UdaraR mentioned will work for you. > > [image: Inline image 1] > For example according to the above image it will create a branch named > 'bar' from the branch '1.2.0-m2' unless 'bar' already exists. > You can do this on your forked/own repos only. > > > > On Thu, Jul 24, 2014 at 11:49 AM, Samith Dassanayake <[email protected]> > wrote: > >> Hi, >> Can we create a git branch remotely without locally checking out the >> branch that we are going to do branching from. For example I have a branch >> *foo* in https://somerepo/.git and I want to create a branch *bar* in >> the same repo https://somerepo/.git from the branch *foo, *without >> checking out the branch *foo* locally. Can we do that? >> >> Thanks. >> >> -- >> Best Regards >> >> Samith Dassanayake >> Software Engineer, WSO2 Inc. >> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > *Ayesha Dissanayaka* > Software Engineer, > WSO2, Inc : http://wso2.com > <http://www.google.com/url?q=http%3A%2F%2Fwso2.com&sa=D&sntz=1&usg=AFQjCNEZvyc0uMD1HhBaEGCBxs6e9fBObg> > 20, Palmgrove Avenue, Colombo 3 > E-Mail: [email protected] <[email protected]> > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
