Hi Samith,
You'd generally need to have a checked-out (cloned) git repo or initialized
git repo to branch from. Otherwise it will lack the git metadata needed to
create the branch.
Thanks.
On Thu, Jul 24, 2014 at 12:25 PM, Udara Rathnayake [via WSO2 Oxygen Tank] <
[email protected]> wrote:
> In Github UI, by using the branches drop down you can create a new branch.
>
>
> On Thu, Jul 24, 2014 at 12:14 PM, Danushka Fernando <[hidden email]
> <http://user/SendEmail.jtp?type=node&node=100197&i=0>> wrote:
>
>> I believe you are looking whether "Can we create git branch without
>> cloning". I remember Harsha was looking in to same question don't remember
>> whether he found a solution or not.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : <a href="tel:%2B94716332729" value="+94716332729"
>> target="_blank">+94716332729
>>
>>
>> On Thu, Jul 24, 2014 at 11:49 AM, Samith Dassanayake <[hidden email]
>> <http://user/SendEmail.jtp?type=node&node=100197&i=1>> 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
>>> [hidden email] <http://user/SendEmail.jtp?type=node&node=100197&i=2>
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> [hidden email] <http://user/SendEmail.jtp?type=node&node=100197&i=3>
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Udara Rathnayake*
> Software Engineer
> WSO2 Inc. : http://wso2.com
>
> Mobile : +94 772207239
> Twitter : http://twitter.com/udarakr
> Blog : http://udarakr.blogspot.com
>
>
> _______________________________________________
> Dev mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=100197&i=4>
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Can-we-create-git-branch-remotely-without-checking-out-tp100192p100197.html
> To start a new topic under WSO2 Development, email
> [email protected]
> To unsubscribe from WSO2 Development, click here
> <http://wso2-oxygen-tank.10903.n7.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3&code=cmFzYWRlODhAZ21haWwuY29tfDN8LTEwNDAzODU2MTk=>
> .
> NAML
> <http://wso2-oxygen-tank.10903.n7.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
--
Au revoir!
Ramindu Deshapriya.
Member - Sahana Software Foundation http://sahanafoundation.org
http://rdeshapriya.com
<http://www.facebook.com/rdeshapriya> <http://twitter.com/#%21/rami_desh>
<https://plus.google.com/113801459480978566130>
<http://www.linkedin.com/profile/view?id=84017607&trk=tab_pro>
<http://rdeshapriya.com> <http://lmakuthan.blogspot.com>
--
View this message in context:
http://wso2-oxygen-tank.10903.n7.nabble.com/Dev-Can-we-create-git-branch-remotely-without-checking-out-tp100192p100198.html
Sent from the WSO2 Development mailing list archive at Nabble.com.
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev