"fatal: Not a git repository" issued during 'make' from source code
- From
- Mun Johl <mun.johl@wdc.com>
- Date
- Aug 11, 2023, 19:57 UTC
- Message-ID
- <SJ0PR04MB8289FF1D6BAC59833D922BA89C10A@SJ0PR04MB8289.namprd04.prod.outlook.com>
Hi,
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?
Thank you,
-- Mun