git - Must HEAD point to a branch? -
must head point branch, or can point directly commit node? possible move head point arbitrary commit node if no branch referencing node?
must head point branch, or can point directly commit?
head pointer commit. possible no branch points commit.
is possible move head point arbitrary commit if no branch referencing commit?
yes, is. do:
git checkout <commit-sha> and check out commit in detached head state. means not on branch.
Comments
Post a Comment