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

Bugreport: git push disobeys -c remote.xxx.url=...

From
Ffuz@fuz.su <fuz@fuz.su>
Date
May 30, 2014, 00:03 UTC
Message-ID
<20140530000356.GA8033@fuz.su>
Hello!

I've tried to changing the URL of a remote temporarily because of network issues. I tried something like this:

    git -c remote.foo.url=http://gitserver.example/repo.git push foo bar

Tracing shows that git push does not use the provided URL for the remote foo and instead uses the URL configured in the repository configuration as if the -c option was not present at all. This looks like a bug to me.

My git identifies as version 1.8.1.2.

Yours sincerely, Robert Clausecker

-- 
()  ascii ribbon campaign - for an 8-bit clean world 
/\  - against html email  - against proprietary attachments
Next: Jeff King
Message 1 of 2 in “Bugreport: git push disobeys -c remote.xxx.url=...”
  1. fuz@fuz.suMay 30, 2014
  2. Jeff KingMay 30, 2014

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.