diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-10-14 15:28:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-14 15:28:09 -0700 |
commit | 9236fea47fdd276f1023b03ded5acff2e8d9c213 (patch) | |
tree | cfde71e833b959ef06d40d4f7ea2a249d8431549 /git-rebase.html | |
parent | 6a1de6749fe9b59217f41542aace43daac13b94e (diff) | |
download | git-htmldocs-9236fea47fdd276f1023b03ded5acff2e8d9c213.tar.gz |
Autogenerated HTML docs for v2.1.2-443-g670a3
Diffstat (limited to 'git-rebase.html')
-rw-r--r-- | git-rebase.html | 34 |
1 files changed, 20 insertions, 14 deletions
diff --git a/git-rebase.html b/git-rebase.html index 04ad5d2b1..0e2ab2aa8 100644 --- a/git-rebase.html +++ b/git-rebase.html @@ -764,14 +764,16 @@ git-rebase(1) Manual Page <code>git checkout <branch></code> before doing anything else. Otherwise
it remains on the current branch.</p></div>
<div class="paragraph"><p>If <upstream> is not specified, the upstream configured in
-branch.<name>.remote and branch.<name>.merge options will be used; see
-<a href="git-config.html">git-config(1)</a> for details. If you are currently not on any
-branch or if the current branch does not have a configured upstream,
-the rebase will abort.</p></div>
+branch.<name>.remote and branch.<name>.merge options will be used (see
+<a href="git-config.html">git-config(1)</a> for details) and the <code>--fork-point</code> option is
+assumed. If you are currently not on any branch or if the current
+branch does not have a configured upstream, the rebase will abort.</p></div>
<div class="paragraph"><p>All changes made by commits in the current branch but that are not
in <upstream> are saved to a temporary area. This is the same set
-of commits that would be shown by <code>git log <upstream>..HEAD</code> (or
-<code>git log HEAD</code>, if --root is specified).</p></div>
+of commits that would be shown by <code>git log <upstream>..HEAD</code>; or by
+<code>git log 'fork_point'..HEAD</code>, if <code>--fork-point</code> is active (see the
+description on <code>--fork-point</code> below); or by <code>git log HEAD</code>, if the
+<code>--root</code> option is specified.</p></div>
<div class="paragraph"><p>The current branch is reset to <upstream>, or <newbase> if the
--onto option was supplied. This has the exact same effect as
<code>git reset --hard <upstream></code> (or <newbase>). ORIG_HEAD is set
@@ -1192,13 +1194,17 @@ the reversion" (see the </dt>
<dd>
<p>
- Use <em>git merge-base --fork-point</em> to find a better common ancestor
- between <code>upstream</code> and <code>branch</code> when calculating which commits have
- have been introduced by <code>branch</code> (see <a href="git-merge-base.html">git-merge-base(1)</a>).
-</p>
-<div class="paragraph"><p>If no non-option arguments are given on the command line, then the default is
-<code>--fork-point @{u}</code> otherwise the <code>upstream</code> argument is interpreted literally
-unless the <code>--fork-point</code> option is specified.</p></div>
+ Use reflog to find a better common ancestor between <upstream>
+ and <branch> when calculating which commits have been
+ introduced by <branch>.
+</p>
+<div class="paragraph"><p>When --fork-point is active, <em>fork_point</em> will be used instead of
+<upstream> to calculate the set of commits to rebase, where
+<em>fork_point</em> is the result of <code>git merge-base --fork-point <upstream>
+<branch></code> command (see <a href="git-merge-base.html">git-merge-base(1)</a>). If <em>fork_point</em>
+ends up being empty, the <upstream> will be used as a fallback.</p></div>
+<div class="paragraph"><p>If either <upstream> or --root is given on the command line, then the
+default is <code>--no-fork-point</code>, otherwise the default is <code>--fork-point</code>.</p></div>
</dd>
<dt class="hdlist1">
--ignore-whitespace
@@ -1967,7 +1973,7 @@ reorder commits tend to produce counterintuitive results.</p></div> <div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2014-09-19 15:32:09 PDT
+Last updated 2014-10-14 15:27:06 PDT
</div>
</div>
</body>
|