# in support of git pushing only the active branch by default

3 messages from 2012-03-17 to 2012-03-18. Participants: Mark Essel, Charles Bailey, Björn Steinbrink.
Thread: https://gitlist.dev/t/29977

## Mark Essel, 2012-03-17 10:16

Subject: in support of git pushing only the active branch by default
Message-ID: <5B1A6856-E87D-4AB6-B7CC-71055FF2DF48@me.com>
URL: https://gitlist.dev/e/5B1A6856-E87D-4AB6-B7CC-71055FF2DF48%40me.com

```
I would appreciate a brief option to push all branches, git push-all or similar for personal git usage.

```

## Charles Bailey, 2012-03-18 08:53

Subject: Re: in support of git pushing only the active branch by default
Message-ID: <20120318085347.GA612@hashpling.org>
URL: https://gitlist.dev/e/20120318085347.GA612%40hashpling.org
In-Reply-To: <5B1A6856-E87D-4AB6-B7CC-71055FF2DF48@me.com>

```
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, 2012-03-18 11:46

Subject: Re: in support of git pushing only the active branch by default
Message-ID: <20120318114608.GA6251@atjola.homenet>
URL: https://gitlist.dev/e/20120318114608.GA6251%40atjola.homenet
In-Reply-To: <20120318085347.GA612@hashpling.org>

```
On 2012.03.18 08:53:47 +0000, Charles Bailey wrote:
> 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

```
