[Bug] Misleading error message when run in a non-Git directory
- From
Victor Porton <porton@narod.ru>
- Date
- Apr 23, 2020, 22:42 UTC
- Message-ID
- <c0e916fb-7b0e-1192-e71d-ea6449863e9b@narod.ru>
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