Strange behavior of git remote with bogus input
- From
Bill Lear <rael@zopyra.com>
- Date
- Feb 27, 2007, 13:21 UTC
- Message-ID
- <17892.12406.691169.428572@lisa.zopyra.com>
% 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