In general I avoid rewriting history unless I am in a PR branch and I am
squashing commits before a merge. So a revert is fine IMO.

Gary

On Sun, Oct 11, 2020, 16:16 Elliotte Rusty Harold <elh...@ibiblio.org>
wrote:

> I cancelled a planned release of the maven-dependency-plugin before it
> got to a vote but after it had been pushed to Github. (discovered a
> couple of issues I want to fix first)
>
> I dropped the bundle from Nexus. Now I need to revert the last couple
> of commits and remove the tag. They're about three different ways to
> do this in git, e.g. throwing away the last couple of commits or
> creating a new commit that undoes the effects of the old commits but
> does not remove them from the history. Anyone happen to know what's
> preferred in this scenario? Thanks.
>
> --
> Elliotte Rusty Harold
> elh...@ibiblio.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org
>
>

Reply via email to