git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
rsbecker@nexbridge.com <rsbecker@nexbridge.com>
Date
Aug 11, 2023, 20:41 UTC
Message-ID
<034c01d9cc94$30c14960$9243dc20$@nexbridge.com>
In-Reply-To
<SJ0PR04MB82893B315F130DCF181D78F49C10A@SJ0PR04MB8289.namprd04.prod.outlook.com>
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

Show 12 quoted lines
>> -----Original Message-----
>> From: Mun Johl <Mun.Johl@wdc.com>
>> Sent: Friday, August 11, 2023 1:23 PM
>> To: rsbecker@nexbridge.com; git@vger.kernel.org
>> 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
Show 16 quoted lines
>directory where I am running 'make'?
>>
>> Thanks again and best regards,
>>
>> --
>> Mun
>>
>> > -----Original Message-----
>> > From: rsbecker@nexbridge.com <rsbecker@nexbridge.com>
>> > Sent: Friday, August 11, 2023 1:19 PM
>> > To: Mun Johl <Mun.Johl@wdc.com>; git@vger.kernel.org
>> > 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
Show 18 quoted lines
>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
Previous: Mun JohlNext: Junio C Hamano
Message 5 of 21 in “"fatal: Not a git repository" issued during 'make' from source code”
  1. Mun JohlAug 11, 2023
  2. rsbecker@nexbridge.comAug 11, 2023
  3. Mun JohlAug 11, 2023
  4. Mun JohlAug 11, 2023
  5. rsbecker@nexbridge.comAug 11, 2023
  6. Junio C HamanoAug 11, 2023
  7. Junio C HamanoAug 11, 2023
  8. rsbecker@nexbridge.comAug 11, 2023
  9. Mun JohlAug 11, 2023
  10. Junio C HamanoAug 11, 2023
  11. Mun JohlAug 12, 2023
  12. rsbecker@nexbridge.comAug 11, 2023
  13. Junio C HamanoAug 11, 2023
  14. rsbecker@nexbridge.comAug 11, 2023
  15. Mun JohlAug 12, 2023
  16. rsbecker@nexbridge.comAug 14, 2023
  17. Mun JohlAug 15, 2023
  18. rsbecker@nexbridge.comAug 15, 2023
  19. Mun JohlAug 16, 2023
  20. Todd ZullingerAug 12, 2023
  21. Mun JohlAug 12, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.