Difference between revisions of "HEAD"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 1: | Line 1: | ||
− | <code>[[HEAD is now at]] XXXXX ...</code> | + | * <code>[[HEAD is now at]] XXXXX ...</code> |
− | |||
* <code>[[Detached HEAD]]</code> | * <code>[[Detached HEAD]]</code> | ||
* <code>[[HEAD detached]]</code> | * <code>[[HEAD detached]]</code> |
Revision as of 13:50, 16 March 2023
HEAD is now at XXXXX ...
Detached HEAD
HEAD detached
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
See also
git checkout
[-b
|master | main | -f
]
Advertising: