All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Lemuria <nekadek457@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Rebasing commits that have been pushed to remote
Date: Wed, 22 Dec 2021 11:34:22 -0800	[thread overview]
Message-ID: <xmqqlf0cjuwx.fsf@gitster.g> (raw)
In-Reply-To: <71b51bc8-172f-48de-7c3f-cf55dc45b39a@gmail.com> (Lemuria's message of "Wed, 22 Dec 2021 15:55:19 +0800")

Lemuria <nekadek457@gmail.com> writes:

> How do you reword messages of commits that have been pushed to remotes
> (in this case GitHub)? Do I simply perform an interactive rebase 
> operation on the commits and simply push?

It is up to each project if it is an acceptable practice to
rewind-and-rebuild a branch that has already been published, but
if the projects participants are OK with it, then "'rebase -i'
and 'push -f'" is how you would do it.

  reply	other threads:[~2021-12-22 19:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-22  7:55 Rebasing commits that have been pushed to remote Lemuria
2021-12-22 19:34 ` Junio C Hamano [this message]
2021-12-23  3:11   ` Lemuria
2021-12-26  8:44     ` Erik Cervin Edin
2021-12-26  9:58       ` Lemuria
2021-12-26 15:49         ` rsbecker
2021-12-27  2:28           ` Lemuria

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=xmqqlf0cjuwx.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=nekadek457@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.