public inbox for git@vger.kernel.org 
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox•com>
To: "J. R. Westmoreland" <jr@jrw•org>
Cc: git@vger•kernel.org
Subject: Re: A branch question
Date: Tue, 10 Mar 2015 16:38:45 -0700	[thread overview]
Message-ID: <xmqqbnk0xw1m.fsf@gitster.dls.corp.google.com> (raw)
In-Reply-To: <xmqqoao0zhbc.fsf@gitster.dls.corp.google.com> (Junio C. Hamano's message of "Tue, 10 Mar 2015 14:13:59 -0700")

Junio C Hamano <gitster@pobox•com> writes:

>  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        
	...

>  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.

      reply	other threads:[~2015-03-10 23:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-10 20:56 A branch question J. R. Westmoreland
2015-03-10 21:13 ` Junio C Hamano
2015-03-10 23:38   ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqqbnk0xw1m.fsf@gitster.dls.corp.google.com \
    --to=gitster@pobox$(echo .)com \
    --cc=git@vger$(echo .)kernel.org \
    --cc=jr@jrw$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox