threads / discuss / 29977

in support of git pushing only the active branch by default

Subject: in support of git pushing only the active branch by default

## tl;dr

3 messages between Mar 17, 2012 and Mar 18, 2012.

replies: 2people: 3as markdown or json

Charles Bailey· Mar 18, 2012, 08:53 UTC · re: Mark Essel · lore

Re: in support of git pushing only the active branch by default

On Sat, Mar 17, 2012 at 06:16:51AM -0400, Mark Essel wrote:
> I would appreciate a brief option to push all branches, git push-all or similar for personal git usage.
You mean like this?
git push origin :
Björn Steinbrink· Mar 18, 2012, 11:46 UTC · re: Charles Bailey · lore

Re: in support of git pushing only the active branch by default

On 2012.03.18 08:53:47 +0000, Charles Bailey wrote:
Show 6 quoted lines
> On Sat, Mar 17, 2012 at 06:16:51AM -0400, Mark Essel wrote:
> > I would appreciate a brief option to push all branches, git push-all or similar for personal git usage.
> 
> You mean like this?
> 
> git push origin :

That would be what "matching" does, i.e. push only those branch heads that exist in both repos. To push all branch heads, use --all.

Björn

← back to recent threads