Difference between revisions of "HEAD"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
* <code>[[Detached HEAD]]</code> | * <code>[[Detached HEAD]]</code> | ||
* <code>[[HEAD detached]]</code> | * <code>[[HEAD detached]]</code> | ||
+ | * <code>unexpected status from HEAD request to</code> | ||
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. | 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. |
Revision as of 05:58, 13 August 2024
HEAD is now at XXXXX ...
Detached HEAD
HEAD detached
unexpected status from HEAD request to
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.
Related
git checkout new branch
git push origin HEAD:/your-branch
git checkout
allowed_methods
- HTTP HEAD method
See also
git checkout
[-b
|master | main | -f
]
Advertising: