Hi Ayesha.
Yes. If you are using github that will do the work. But I'm not using the
github and I think as Ramindu's answer we need to have a cloned or
initialized git repo to branch from.

Thanks


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



-- 
Best Regards

Samith Dassanayake
Software Engineer, WSO2 Inc.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to