From: mat <matthieu.stigler@gmail.com>
To: git@vger.kernel.org
Subject: Looks like --amend create commit... don't understand
Date: Wed, 24 Feb 2010 22:27:32 +0100 [thread overview]
Message-ID: <4B8599C4.1050409@gmail.com> (raw)
Hi
Sorry for this question that might appear soo simple but I'm a little
bit lost :-(
When editing my code, I like to --amend it a lot between bigger commits.
But when looking on gitk, I see that
git commit blabla --amend
does create each and every time a new commit, I mean: with git log,
there is only one commit, but on gitk, I see many, with the same name
but different revision ID.... My understanding was that it would only
replace, not create each time a new revision.. Could you please explain
me where Iàm wrong and what is happening exactly?
Furthermore, if I wish to delete all those intermediary amend commit,
can I do it? If yes, how?
Thanks a lot for this help!
Matthieu
next reply other threads:[~2010-02-24 21:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-24 21:27 mat [this message]
2010-02-24 22:01 ` Looks like --amend create commit... don't understand Matthieu Moy
2010-02-25 20:45 ` mat
2010-02-25 22:25 ` Octavio Alvarez
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=4B8599C4.1050409@gmail.com \
--to=matthieu.stigler@gmail.com \
--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).