aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-09-03 20:23:57 +0200
committerMattias Andrée <maandree@operamail.com>2013-09-03 20:23:57 +0200
commit562157f08bf17c70af57ab5835108eb5c9c28536 (patch)
tree3e5014cc0f749b0d63f3c0d352ce58c027031009
parentadd dangling object to glossary (diff)
downloadusing-git-562157f08bf17c70af57ab5835108eb5c9c28536.tar.gz
using-git-562157f08bf17c70af57ab5835108eb5c9c28536.tar.bz2
using-git-562157f08bf17c70af57ab5835108eb5c9c28536.tar.xz
add detached HEAD to glossary
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--using-git.texinfo11
1 files changed, 10 insertions, 1 deletions
diff --git a/using-git.texinfo b/using-git.texinfo
index 2e947e9..0266730 100644
--- a/using-git.texinfo
+++ b/using-git.texinfo
@@ -1327,7 +1327,16 @@ An object that is not reachable, even from other
unreachable objects; there are not references to
it.
-@c @item deatched @code{HEAD}
+@item detached @code{HEAD}
+@code{HEAD} that does not store the name of a
+branch. Git allows you to checkout arbitrary
+commmits, when you checkout a commit that is
+not the tip of any branch, the @code{HEAD} is
+``detached''.
+
+To store changes make in a detached @code{HEAD}
+you must first create a new branch from it.
+
@c @item directory
@c @item dirty
@c @item evil merge