threads / discuss / 6991

Strange behavior of git remote with bogus input

Subject: Strange behavior of git remote with bogus input

## tl;dr

One message between Feb 27, 2007 and Feb 27, 2007.

replies: 0people: 1as markdown or json

Bill Lear· Feb 27, 2007, 13:21 UTC · lore

% 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

← back to recent threads