You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by Praveen Sripati <pr...@gmail.com> on 2013/12/18 21:01:04 UTC
Regarding Git
Guys,
I have a query regarding git. I have cloned Hadoop repo as
git clone git://git.apache.org/hadoop-common.git
I want to checkout the latest Hadoop code (1.2.1), but it gives the below
error.
git checkout release-1.2.1
error: pathspec 'release-1.2.1' did not match any file(s) known to git.
How do I get around this?
Thanks,
Praveen
Re: Regarding Git
Posted by Mark Wagner <wa...@gmail.com>.
You'll need to do 'git fetch --tags' to retrieve the tags after cloning.
-Mark
On Wed, Dec 18, 2013 at 1:04 PM, Praveen Sripati
<pr...@gmail.com> wrote:
> I have done a
>
> git branch --all | grep "1.2.1"
>
> and haven't got anything back.
>
> Thanks,
> Praveen
>
>
> On Wed, Dec 18, 2013 at 9:01 PM, Jay Vyas <ja...@gmail.com> wrote:
>
>> Use "git branch --all" To see what branches are there.
>>
Re: Regarding Git
Posted by Praveen Sripati <pr...@gmail.com>.
I have done a
git branch --all | grep "1.2.1"
and haven't got anything back.
Thanks,
Praveen
On Wed, Dec 18, 2013 at 9:01 PM, Jay Vyas <ja...@gmail.com> wrote:
> Use "git branch --all" To see what branches are there.
>
Re: Regarding Git
Posted by Jay Vyas <ja...@gmail.com>.
Use "git branch --all" To see what branches are there.