* rebase edit handling
@ 2009-05-13 6:51 Nguyen Thai Ngoc Duy
2009-05-13 6:59 ` Nguyen Thai Ngoc Duy
2009-05-13 8:18 ` Anders Melchiorsen
0 siblings, 2 replies; 4+ messages in thread
From: Nguyen Thai Ngoc Duy @ 2009-05-13 6:51 UTC (permalink / raw)
To: Git Mailing List
Hi,
Could we unit the way to squash/edit commits in rebase? If I squash a
commit it, I need to to update the index and continue rebase. If I
edit a commit, I need to amend that commit. The problem is when I have
a few edits/squashes in the same rebase, I easily get confused and do
"commit --amend" on squash too.
--
Duy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rebase edit handling
2009-05-13 6:51 rebase edit handling Nguyen Thai Ngoc Duy
@ 2009-05-13 6:59 ` Nguyen Thai Ngoc Duy
2009-05-13 8:18 ` Anders Melchiorsen
1 sibling, 0 replies; 4+ messages in thread
From: Nguyen Thai Ngoc Duy @ 2009-05-13 6:59 UTC (permalink / raw)
To: Git Mailing List
On Wed, May 13, 2009 at 4:51 PM, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:
> Hi,
>
> Could we unit the way to squash/edit commits in rebase? If I squash a
Sorry I meant "unique"
--
Duy
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rebase edit handling
2009-05-13 6:51 rebase edit handling Nguyen Thai Ngoc Duy
2009-05-13 6:59 ` Nguyen Thai Ngoc Duy
@ 2009-05-13 8:18 ` Anders Melchiorsen
2009-05-13 9:52 ` Nguyen Thai Ngoc Duy
1 sibling, 1 reply; 4+ messages in thread
From: Anders Melchiorsen @ 2009-05-13 8:18 UTC (permalink / raw)
To: Nguyen Thai Ngoc Duy; +Cc: Git Mailing List
On Wed, 13 May 2009 16:51:33 +1000, Nguyen Thai Ngoc Duy
<pclouds@gmail.com>
wrote:
> Could we unit the way to squash/edit commits in rebase? If I squash a
> commit it, I need to to update the index and continue rebase. If I
> edit a commit, I need to amend that commit. The problem is when I have
> a few edits/squashes in the same rebase, I easily get confused and do
> "commit --amend" on squash too.
A squash does not leave you at the prompt, unless you abort the editor
with the concatenated commit messages. So where does your confusion
come from?
Anyway, here is a (fruitless) thread on the confusing UI of interactive
rebase:
http://thread.gmane.org/gmane.comp.version-control.git/105738
Maybe it answers your question in some way.
Anders.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: rebase edit handling
2009-05-13 8:18 ` Anders Melchiorsen
@ 2009-05-13 9:52 ` Nguyen Thai Ngoc Duy
0 siblings, 0 replies; 4+ messages in thread
From: Nguyen Thai Ngoc Duy @ 2009-05-13 9:52 UTC (permalink / raw)
To: Anders Melchiorsen; +Cc: Git Mailing List
On Wed, May 13, 2009 at 6:18 PM, Anders Melchiorsen
<mail@cup.kalibalik.dk> wrote:
> On Wed, 13 May 2009 16:51:33 +1000, Nguyen Thai Ngoc Duy
> <pclouds@gmail.com>
> wrote:
>
>> Could we unit the way to squash/edit commits in rebase? If I squash a
>> commit it, I need to to update the index and continue rebase. If I
>> edit a commit, I need to amend that commit. The problem is when I have
>> a few edits/squashes in the same rebase, I easily get confused and do
>> "commit --amend" on squash too.
>
> A squash does not leave you at the prompt, unless you abort the editor
> with the concatenated commit messages. So where does your confusion
> come from?
Hmm.. I was confused even when writing mail :P No not squash, actually
conflicts.
> Anyway, here is a (fruitless) thread on the confusing UI of interactive
> rebase:
>
> http://thread.gmane.org/gmane.comp.version-control.git/105738
>
> Maybe it answers your question in some way.
Yes, looks interesting.
--
Duy
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-13 9:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-13 6:51 rebase edit handling Nguyen Thai Ngoc Duy
2009-05-13 6:59 ` Nguyen Thai Ngoc Duy
2009-05-13 8:18 ` Anders Melchiorsen
2009-05-13 9:52 ` Nguyen Thai Ngoc Duy
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).