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

branch name in remote.<remote>.push is not updated after "git branch -m"

From
ABAndrey Borzenkov <arvidjaar@gmail.com>
Date
Jan 22, 2013, 12:43 UTC
Message-ID
<20130122164306.3dc8b757@opensuse.site>

I renamed branches and noticed that branch name was not changed in remote push config. I.e. after

bor@opensuse:~/src/bootinfoscript> git branch -m github master
I still have
[remote "github"]
        push = github:master
        url = git://github.com/arvidjaar/bootinfoscript.git
        pushurl = git@github.com:arvidjaar/bootinfoscript.git
        fetch = +refs/heads/*:refs/remotes/github/*
Is it expected behavior or possibly already fixed?

bor@opensuse:~> git --version git version 1.7.10.4

TIA
-andrey
Next: Junio C Hamano
Message 1 of 2 in “branch name in remote.<remote>.push is not updated after "git branch -m"”
  1. Andrey BorzenkovJan 22, 2013
  2. Junio C HamanoJan 22, 2013

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.