Re: error: invalid key with file url insteadOf

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

 



Basin Ilya <basinilya@xxxxxxxxx> writes:

> Hi.
>
> I'm trying to make the Cygwin Git understand Mingw-style repo urls:
>
>     git config --global \
>       file:///cygdrive/c.insteadOf \
>       file:///C:
>
> But this fails with:
>
>     error: invalid key: file:///cygdrive/c.insteadOf

Understandable.

> Manually editing ~/.gitconfig works fine:
>
>     [url "file:///cygdrive/c"]
>             insteadOf = file:///C:

How about spelling what you want to happen on the command line
version the same way as your "manual" version?  I.e.

	git config --global \
		url.file:///cygdrive/c.insteadOf \
		file:///C:

notice the lack of "url." in your version.



[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