[Bug] Misleading error message when run in a non-Git directory

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

 



git remote add origin ...

produces the error

fatal: remote origin already exists.

when run in the directory which is not initialized by Git (has no .git
folder).

This error message is misleading.

git --version
git version 2.20.1




[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