Strange behavior of git remote with bogus input

From: Bill Lear <hidden>
Date: 2016-06-15 22:42:57

% ls
project foo
% cd project
% git remote add ../foo joe
% git remote

origin

I mis-typed the git remote and got the order wrong.  It did not give
an error and then it seemed to add a "ghost" remote.

My .git/config file has:

[remote "../foo"]
        url = joe
        fetch = +refs/heads/*:refs/remotes/../foo/*

Soo, probably kinda goofy.

Now, how do I fix this?  Just remove this entry from the .git/config
file?


Bill
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help