I used git clone https://git-wip-us.apache.org/repos/asf/lucene-solr.git (per 
https://wiki.apache.org/solr/HowToContribute#Be_Involved), which worked fine.  
Then I tried various git checkout branch_ variations, including branch_6_3.  
After that I tried git iniit, followed by get checkout, which I saw in a few 
past postings.  I still have the code that I cloned, but not the 6.3.0 
branch...   Not sure what's the matter.



-----Original Message-----
From: Steve Rowe [mailto:[email protected]] 
Sent: 17 November 2016 07:40 PM
To: [email protected]
Subject: Re: Checkout branch_6x?

Peter,

I’ve never used ‘git init’ - its man page says "This command creates an empty 
Git repository”.  So it’s not surprising that you don’t find any branches from 
a Lucene/Solr repository, since what you get after this has no connection with 
Lucene/Solr.

What command did you use to clone the Lucene/Solr repo?

--
Steve
www.lucidworks.com

> On Nov 17, 2016, at 2:35 PM, Cotroneo, Peter (ELS) <[email protected]> 
> wrote:
> 
> Hi Steve,
> 
> Cheers for the quick reply!
> 
> I tried that, but it doesn't appear to work:
> 
> $ git init
> Reinitialized existing Git repository in C:/dev/solr/.git/
> 
> $ git checkout branch_6_3
> error: pathspec 'branch_6_3' did not match any file(s) known to git.
> 
> I also tried git branch -a beforehand, but it doesn't return anything.  I'm 
> using Git Bash on (dreaded) Windows, so I wonder if that's the issue...?  I 
> managed to clone the repo, though.
> 
> Peter
> 
> 
> -----Original Message-----
> From: Steve Rowe [mailto:[email protected]]
> Sent: 17 November 2016 07:25 PM
> To: [email protected]
> Subject: Re: Checkout branch_6x?
> 
> Hi Peter,
> 
> It’s named branch_6_3 (there is no trailing ‘0’).
> 
> You can see a list of branch names with:
> 
> $ git branch -a
> 
> --
> Steve
> www.lucidworks.com
> 
>> On Nov 17, 2016, at 2:20 PM, Cotroneo, Peter (ELS) <[email protected]> 
>> wrote:
>> 
>> Hi,
>> 
>> I’ve been using Solr for the past 10 years,  but have yet  to contribute to 
>> the codebase.  I’m trying to checkout branch 6.3.0, but to no avail.
>> 
>> I’ve cloned the read/write repo, and am trying to do git checkout 
>> branch_6.3.0 (and every variation thereof, e.g., branch_6_3_0, branch_630, 
>> etc.).  I keep getting the following error:
>> 
>> error: pathspec 'branch_6x' did not match any file(s) known to git.
>> 
>> I’ve issued a git init before git checkout.  What am I doing wrong?
>> 
>> Any advice would be greatly appreciated.
>> 
>> Cheers,
>> 
>> Peter
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected] For 
> additional commands, e-mail: [email protected]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected] For 
> additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] For additional 
commands, e-mail: [email protected]

Reply via email to