21 lines
734 B
Text
21 lines
734 B
Text
|
|
$ git checkout d0e83f29✂SHA1
|
|
warning: unable to rmdir 'midterm_project': Directory not empty
|
|
Note: switching to 'd0e83f29✂SHA1'.
|
|
|
|
You are in 'detached HEAD' state. You can look around, make experimental
|
|
changes and commit them, and you can discard any commits you make in this
|
|
state without impacting any branches by switching back to a branch.
|
|
|
|
If you want to create a new branch to retain commits you create, you may
|
|
do so (now or later) by using -c with the switch command. Example:
|
|
|
|
git switch -c <new-branch-name>
|
|
|
|
Or undo this operation with:
|
|
|
|
git switch -
|
|
|
|
Turn off this advice by setting config variable advice.detachedHead to false
|
|
|
|
HEAD is now at d0e83f2 add note about cloning from paths and recursive datalad get
|