git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC/PATCH] push: introduce implicit push

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 15, 2013, 07:20 UTC
Message-ID
<7vzjx01cqn.fsf@alter.siamese.dyndns.org>
In-Reply-To
<516BA732.4080405@viscovery.net>
Johannes Sixt <j.sixt@viscovery.net> writes:
Show 6 quoted lines
> User says:
>
>    git push -- master docs release
>
> Then git pushes the three branches to three different upstreams. You find
> that confusing. Do I understanding correctly so far?

It is far more subtle than that. User says that while on 'next' branch.

The user has been trained to think "branch.master.remote" takes effect while he has "master" branch checked out.

That is where the possible confusion comes from. As I said number of times, you may be able to declare that the confusion is unfounded once you think it through.

> Just my 2 cents. (But I'm a traditional "matching" type, so take this with
> a grain of salt. Or I may be missing the point of this thread, as I
> haven't followed closely.)
For exmaple, see
cf. http://thread.gmane.org/gmane.comp.version-control.git/218429/focus=220707

where I say "branch.next.remote" should not come into play when I say "git push --master docs release" while on the next branch and Peff gives a counter-viewpoint.

Previous: Johannes SixtNext: John Keeping
Message 9 of 21 in “push: introduce implicit push”
  1. push: introduce implicit pushRamkumar Ramachandra, Apr 12, 2013
  2. Junio C HamanoApr 12, 2013
  3. Ramkumar RamachandraApr 13, 2013
  4. Junio C HamanoApr 14, 2013
  5. Jakub NarębskiApr 14, 2013
  6. Ramkumar RamachandraApr 14, 2013
  7. Junio C HamanoApr 15, 2013
  8. Johannes SixtApr 15, 2013
  9. Junio C HamanoApr 15, 2013
  10. John KeepingApr 15, 2013
  11. Ramkumar RamachandraApr 15, 2013
  12. John KeepingApr 15, 2013
  13. Junio C HamanoApr 15, 2013
  14. Ramkumar RamachandraApr 15, 2013
  15. John KeepingApr 15, 2013
  16. Felipe ContrerasApr 15, 2013
  17. John KeepingApr 15, 2013
  18. Felipe ContrerasApr 15, 2013
  19. Ramkumar RamachandraApr 15, 2013
  20. Jonathan NiederApr 16, 2013
  21. Jonathan NiederApr 16, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.