Re: cogito remote branch
- From
- MichaelTiloDressel@t-online.de <michaeltilodressel@t-online.de>
- Date
- Nov 12, 2007, 10:47 UTC
- Message-ID
- <1IrWpc-0kFExM0@fwd28.aul.t-online.de>
- In-Reply-To
- <Pine.LNX.4.64.0711120954460.4362@racer.site>
Johannes Schindelin wrote:
>> A push is needed somewhere in order to prevent every remote to be
pushed
>> by default, right?
>You mean a "push" config variable? No. I think I mentioned in my
first
>reply that
> git push <remote> <branch>...
>works quite wonderfully.
I mean a push = .. line in the [remote <name>] block. And if there is such a line than git-push without arguments will push only the current branch. For me that is nice, because if I forgot to give an argument to git-push it will not push other branches.
If there is no such line all the remotes (that don't have a push line?) get pushed.
Cheers, Michael