# docu. concerning push and remotes

1 messages from 2008-01-25 to 2008-01-25. Participants: MichaelTiloDressel@t-online.de.
Thread: https://gitlist.dev/t/11733

## MichaelTiloDressel@t-online.de, 2008-01-25 15:09

Subject: docu. concerning push and remotes
Message-ID: <1JIQBK-1ueKMy0@fwd35.aul.t-online.de>
URL: https://gitlist.dev/e/1JIQBK-1ueKMy0%40fwd35.aul.t-online.de

```
Hi,

the man page of git-config explains that branch.<name>.remote has an
influence on
the default behavior of fetch. It looks like it also has an influence on
the default of push. 
This is what I was looking for. But I could not find that influence on
push documented.  

I found that I had to setup branch.<name>.remote (and
branch.<name>.merge)
entries for my branches in order to have only the current branch pushed
when I use git push without arguments.
That's what I want. If I don't have these settings all branches get
pushed.
In addition a separate remote has to exist for every branch.

Somehow I feel this should be mentioned in the man page of git-config or

git-push.

Cheers,
Michael

```
