git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Message 1 of 1 in “Strange behavior of git remote with bogus input”
  1. Bill LearFeb 27, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.