all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: emacs-devel@gnu.org
Subject: Git help: amending a substandard commit message in savannah.
Date: Mon, 23 Nov 2015 10:51:52 +0000	[thread overview]
Message-ID: <20151123105151.GA2004@acm.fritz.box> (raw)

Hello, Emacs.

Yesterday, I committed a fix to savannah on "my own" branch
fix/not-defined-at-runtime.  The commit message was poorly constructed.

I have corrected this locally with

    git commit --amend

.  When I attempt to push this to savannah with

    git push --force

, my attempt quite properly gets rejected with an error message.

Is there any way I can get this correction onto this branch (e.g. does
anybody have the necessary permissions to perform the git push --force),
or would I be better just to abandon the branch and create another one?

By the way, what happens to abandoned branches?  Does anybody do a
periodic scan of branches to get rid of them?  They surely don't go away
of their own accord.  If they aren't garbage collected, then the
repository's list of branches will steadily fill up with useless cruft.

-- 
Alan Mackenzie (Nuremberg, Germany).



             reply	other threads:[~2015-11-23 10:51 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-23 10:51 Alan Mackenzie [this message]
2015-11-23 11:01 ` Git help: amending a substandard commit message in savannah David Caldwell
2015-11-23 11:32   ` David Kastrup
2015-11-23 12:38     ` Yuri Khan
2015-11-23 19:31     ` David Caldwell
2015-11-23 20:17       ` David Kastrup
2015-11-23 11:10 ` Artur Malabarba
2015-11-23 16:21 ` Eli Zaretskii
2015-11-23 16:27   ` Alan Mackenzie
2015-11-23 16:42   ` John Yates
2015-11-23 17:49     ` Alan Mackenzie
2015-11-23 18:31       ` David Kastrup

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=20151123105151.GA2004@acm.fritz.box \
    --to=acm@muc.de \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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.