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

Re: A branch question

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 10, 2015, 23:38 UTC
Message-ID
<xmqqbnk0xw1m.fsf@gitster.dls.corp.google.com>
In-Reply-To
<xmqqoao0zhbc.fsf@gitster.dls.corp.google.com>
Junio C Hamano <gitster@pobox.com> writes:
Show 5 quoted lines
>  2. If you want to only correct what is shown at origin to the other
>     people, then you do not have to update your local repository.
>
>     $ git push origin version_1.0 v1.0
>     $ git push origin version_1.1 v1.1
Colons are missing from this one.
	git push $there $we_call_it_so:$they_call_it_so
i.e.
	git push origin version_1.0:v1.0        
	...
Show 6 quoted lines
>  3. If these old ones are meant to be immutable, then storing them as
>     tags instead of leaving them as branches might make more sense,
>     i.e.
>
>     $ git push origin version_1.0 tags/v1.0
>     $ git push origin version_1.1 tags/v1.1
Likewise.
Previous: Junio C Hamano
Message 3 of 3 in “A branch question”
  1. J. R. WestmorelandMar 10, 2015
  2. Junio C HamanoMar 10, 2015
  3. Junio C HamanoMar 10, 2015

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.