# pushRemote value not updated on git remote rename

1 messages from 2019-01-22 to 2019-01-22. Participants: jfbu.
Thread: https://gitlist.dev/t/50285

## jfbu, 2019-01-22 12:52

Subject: pushRemote value not updated on git remote rename
Message-ID: <22150621-8374-4D95-82E5-8312CA6E88F3@free.fr>
URL: https://gitlist.dev/e/22150621-8374-4D95-82E5-8312CA6E88F3%40free.fr

```
Hi, 

with git version 2.16.3 on mac os x, (fink installed)
I did

ˋˋˋ
$ git remote rename origin monfork
ˋˋˋ

Then I checked .git/config, all was fine but for

ˋˋˋ
[branch "master"]
	pushRemote = origin
	remote = upstream
	merge = refs/heads/master
ˋˋˋ

Shouldn't "origin" have been changed into "monfork" ?

Apologies if this is due to outdated git, did not check,

Best,

Jean-François

```
