File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -442,7 +442,9 @@ their syntax.
442
442
^^^^^^
443
443
The `from` command is used to specify the commit to initialize
444
444
this branch from. This revision will be the first ancestor of the
445
- new commit.
445
+ new commit. The state of the tree built at this commit will begin
446
+ with the state at the `from` commit, and be altered by the content
447
+ modifications in this commit.
446
448
447
449
Omitting the `from` command in the first commit of a new branch
448
450
will cause fast-import to create that commit with no ancestor. This
@@ -492,7 +494,9 @@ existing value of the branch.
492
494
493
495
`merge`
494
496
^^^^^^^
495
- Includes one additional ancestor commit. If the `from` command is
497
+ Includes one additional ancestor commit. The additional ancestry
498
+ link does not change the way the tree state is built at this commit.
499
+ If the `from` command is
496
500
omitted when creating a new branch, the first `merge` commit will be
497
501
the first ancestor of the current commit, and the branch will start
498
502
out with no files. An unlimited number of `merge` commands per
You can’t perform that action at this time.
0 commit comments