git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: norm@dad.org
To: git@vger.kernel.org
Cc: norm@dad.org
Subject: Editing a typo in the message given to "git commit"
Date: Sun, 21 Aug 2016 08:19:43 -0700	[thread overview]
Message-ID: <201608211519.u7LFJiMR090069@shell1.rawbw.com> (raw)

I am learning how to use git. I would like to know:

How can I correct a typo in the message I gave to an old "git commit"? I see
that the typo occurs in exactly two files in .git:

.git/logs/refs/heads/master
.git/logs/HEAD

/usr/bin/file says that they are both ASCII English text. So I could just
hand edit them. But that seems somehow sacrilegious and might break git.

    Norman Shapiro

             reply	other threads:[~2016-08-21 15:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-21 15:19 norm [this message]
2016-08-21 15:32 ` Editing a typo in the message given to "git commit" Pranit Bauva
2016-08-21 21:29   ` Eric Wong
2016-08-22 19:02 ` Jakub Narębski

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=201608211519.u7LFJiMR090069@shell1.rawbw.com \
    --to=norm@dad.org \
    --cc=git@vger.kernel.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).