summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-12-19 14:45:35 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-12-19 14:45:35 -0800
commit06cd5a1e01328724b7709ac232e36263e59f5f26 (patch)
treecd234c23f5d18c2e60ea61b33f1a6b98c08d8619 /Documentation
parentMerge branch 'jk/trailers-placeholder-in-pretty' (diff)
parentrebase: add --quit to cleanup rebase, leave everything else untouched (diff)
downloadtgif-06cd5a1e01328724b7709ac232e36263e59f5f26.tar.xz
Merge branch 'nd/rebase-forget'
"git rebase" learned "--quit" option, which allows a user to remove the metadata left by an earlier "git rebase" that was manually aborted without using "git rebase --abort". * nd/rebase-forget: rebase: add --quit to cleanup rebase, leave everything else untouched
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-rebase.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/git-rebase.txt b/Documentation/git-rebase.txt
index de222c81af..67d48e6883 100644
--- a/Documentation/git-rebase.txt
+++ b/Documentation/git-rebase.txt
@@ -12,7 +12,7 @@ SYNOPSIS
[<upstream> [<branch>]]
'git rebase' [-i | --interactive] [options] [--exec <cmd>] [--onto <newbase>]
--root [<branch>]
-'git rebase' --continue | --skip | --abort | --edit-todo
+'git rebase' --continue | --skip | --abort | --quit | --edit-todo
DESCRIPTION
-----------
@@ -252,6 +252,11 @@ leave out at most one of A and B, in which case it defaults to HEAD.
will be reset to where it was when the rebase operation was
started.
+--quit::
+ Abort the rebase operation but HEAD is not reset back to the
+ original branch. The index and working tree are also left
+ unchanged as a result.
+
--keep-empty::
Keep the commits that do not change anything from its
parents in the result.