Skip to content

Commit c6eec9c

Browse files
phil-blaingitster
authored andcommitted
revisions.txt: be explicit about commands writing 'ORIG_HEAD'
When mentioning 'ORIG_HEAD', be explicit about which command write that pseudo-ref, namely 'git am', 'git merge', 'git rebase' and 'git reset'. Signed-off-by: Philippe Blain <[email protected]> Acked-by: Phillip Wood <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 0c514d5 commit c6eec9c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/revisions.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ characters and to avoid word splitting.
4949
`FETCH_HEAD` records the branch which you fetched from a remote repository
5050
with your last `git fetch` invocation.
5151
`ORIG_HEAD` is created by commands that move your `HEAD` in a drastic
52-
way, to record the position of the `HEAD` before their operation, so that
52+
way (`git am`, `git merge`, `git rebase`, `git reset`),
53+
to record the position of the `HEAD` before their operation, so that
5354
you can easily change the tip of the branch back to the state before you ran
5455
them.
5556
`MERGE_HEAD` records the commit(s) which you are merging into your branch

0 commit comments

Comments
 (0)