git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug] Misleading error message when run in a non-Git directory
@ 2020-04-23 22:42 Victor Porton
  2020-04-23 23:26 ` brian m. carlson
  0 siblings, 1 reply; 2+ messages in thread
From: Victor Porton @ 2020-04-23 22:42 UTC (permalink / raw)
  To: git

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-23 23:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-23 22:42 [Bug] Misleading error message when run in a non-Git directory Victor Porton
2020-04-23 23:26 ` brian m. carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).