From: Jonathan Nieder <jrnieder@gmail.com>
To: "Paul A. Kennedy" <pakenned@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: unexpected file deletion after using git rebase --abort
Date: Wed, 3 Jul 2013 15:56:43 -0700 [thread overview]
Message-ID: <20130703225642.GU408@google.com> (raw)
In-Reply-To: <20130703224402.GF9016@localhost.localdomain>
Paul A. Kennedy wrote:
> If we don't expect this, should we update the documentation for the
> --abort heading in the git rebase man page to indicate that newly
> staged content will be lost after a git rebase --abort?
How about something along these lines?
diff --git i/Documentation/git-rebase.txt w/Documentation/git-rebase.txt
index 6b2e1c8..dcae40d 100644
--- i/Documentation/git-rebase.txt
+++ w/Documentation/git-rebase.txt
@@ -240,6 +240,9 @@ leave out at most one of A and B, in which case it defaults to HEAD.
started, then HEAD will be reset to <branch>. Otherwise HEAD
will be reset to where it was when the rebase operation was
started.
++
+This discards any changes to files tracked in the working tree or <branch>.
+You may want to stash your changes first (see linkgit:git-stash[1]).
--keep-empty::
Keep the commits that do not change anything from its
next prev parent reply other threads:[~2013-07-03 22:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-03 22:44 unexpected file deletion after using git rebase --abort Paul A. Kennedy
2013-07-03 22:56 ` Jonathan Nieder [this message]
2013-07-03 23:04 ` Junio C Hamano
2013-07-04 19:35 ` Paul A. Kennedy
2013-07-04 23:27 ` Eric Sunshine
2013-07-05 7:07 ` Junio C Hamano
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=20130703225642.GU408@google.com \
--to=jrnieder@gmail.com \
--cc=git@vger.kernel.org \
--cc=pakenned@pobox.com \
/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 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.