RE: "fatal: Not a git repository" issued during 'make' from source code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, August 11, 2023 4:26 PM, Mon Johl wrote:
>Sorry for the additional reply--I should have mentioned that we don't have
a git repo
>yet.  I am just trying to get things setup so that we can create a proper
repo and
>migrate our data.

Please consult this page:
https://git-scm.com/book/en/v2/Getting-Started-Installing-Git

>> -----Original Message-----
>> From: Mun Johl <Mun.Johl@xxxxxxx>
>> Sent: Friday, August 11, 2023 1:23 PM
>> To: rsbecker@xxxxxxxxxxxxx; git@xxxxxxxxxxxxxxx
>> Subject: RE: "fatal: Not a git repository" issued during 'make' from
>> source code
>>
>> Hi Randall,
>>
>> Thank you for your quick reply.
>>
>> I'm just wondering... Can I "trick" the compilation process by simply
creating a .git
>directory where I am running 'make'?
>>
>> Thanks again and best regards,
>>
>> --
>> Mun
>>
>> > -----Original Message-----
>> > From: rsbecker@xxxxxxxxxxxxx <rsbecker@xxxxxxxxxxxxx>
>> > Sent: Friday, August 11, 2023 1:19 PM
>> > To: Mun Johl <Mun.Johl@xxxxxxx>; git@xxxxxxxxxxxxxxx
>> > Subject: RE: "fatal: Not a git repository" issued during 'make' from
>> > source code
>> >
>> > CAUTION: This email originated from outside of Western Digital. Do
>> > not click on links or open attachments unless you recognize the sender
and know
>that the content is safe.
>> >
>> >
>> > On Friday, August 11, 2023 3:57 PM, Mun Johl wrote:
>> > >I am new to git and am trying to compile git-2.41.0 on RHEL7.  When
>> > >I run
>> > 'make
>> > >prefix=/usr/local all doc', I get the following error:
>> > >
>> > >fatal: Not a git repository (or any parent up to mount point
>> > >/tools)
>> > >
>> > >Which I infer means that I need to do the build within a git repo.
>> > >Is that
>> > correct?  Or
>> > >have I missed some basic step in the build process?
>> >
>> > Yes, you must be in the cloned git repository in order to run the
build.
>> > --Randall




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux