Browse Source

Minor corrections to release notes

Update section about warning when leaving a detached head.

Also fix a few indentations that weren't like the rest of the file.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Nicolas Pitre 18 years ago committed by Junio C Hamano
parent
commit
a989a5ef2c
  1. 10
      Documentation/RelNotes-1.5.0.txt

10
Documentation/RelNotes-1.5.0.txt

@ -291,12 +291,10 @@ Updates in v1.5.0 since v1.4.4 series
reset" to jump to arbitrary commit, while still keeping your reset" to jump to arbitrary commit, while still keeping your
HEAD detached. HEAD detached.


Going back to attached state (i.e. on a particular branch) by Remember that a detached state is volatile, i.e. it will be forgotten
"git checkout $branch" can lose the current stat you arrived as soon as you move away from it with the checkout or reset command,
in these ways, and "git checkout" refuses when the detached unless a branch is created from it as mentioned above. It is also
HEAD is not pointed by any existing ref (an existing branch, possible to rescue a lost detached state from the HEAD reflog.
a remote tracking branch or a tag). This safety can be
overridden with "git checkout -f $branch".




* Packed refs * Packed refs

Loading…
Cancel
Save