Re: git on Cygwin: Not a valid object name HEAD

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

 




On Aug 9, 2007, at 8:01 AM, Marius Storm-Olsen wrote:

I have two 'crashes' during installation. I attached snapshots of
the requesters. I don't know how to copy text from the installer.
Therefore I attached snapshots.
Hmm... how do I get started? I naively chose cygwin as my shell. I
set
export PATH=$PATH:/cygdrive/c/msysgit/bin
then I tried
$ git clone git://git.kernel.org/pub/scm/git/git.git c:/msysgit/ bin/git-clone: line 214: git-init: command not found
Maybe it's related to the errors during installation?
How can I build and install git manually, based on the result of
GitMe-3's basic setup?

Ok, first, which system is this? Windows 2000/XP/Vista?
(The Gitme installer doesn't work on old ones for now)

XP 32bit.

Try running gitme from a terminal. Download gitme-3.exe into C: \temp, open a native terminal (Start - Run - Type "cmd" <enter>); then in the terminal, type:
    C:\temp> set PATH=%WINDIR%\system32;%WINDIR%
    C:\temp> gitme-3

Does it work then? If so, the problem is likely to be that you have Cygwin in the system path, which is not advisable/compatible with MSys.

I had cygwin at the tail of my PATH. After removing it the
installation went through flawlessly.

A check in the installer would be a good idea.

Would you recommend running git only from the mingw shell prompt,
or can I start it also from a Cygwin shell prompt?

Thanks a lot,

	Steffen
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[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