Re: [RFC] Reverting "git push logic change"?
- From
sean <seanlkml@sympatico.ca>
- Date
- Jan 22, 2006, 21:42 UTC
- Message-ID
- <BAYC1-PASMTP0532B701820FA4ADB3C640AE110@CEZ.ICE>
- In-Reply-To
- <7vu0bw9ch7.fsf@assigned-by-dhcp.cox.net>
On Sun, 22 Jan 2006 13:31:00 -0800 Junio C Hamano <junkio@cox.net> wrote:
Show 7 quoted lines
> +If you created your shared repository by cloning from somewhere > +else, you may have the `origin` branch. Your developers > +typically do not use that branch; remove it. Otherwise, that > +would be pushed back by the `git push origin` because your > +developers' repository would surely have `origin` branch to keep > +track of the shared repository, and would be counted as "exist > +on both ends".
What about just always excluding the origin branch from being implicitly pushed; even if it does exist in both repositories? In the rare cases where it is actually desired to be pushed, it can be done explicitly.
Sean