Difference between revisions of "HEAD"
Jump to navigation
Jump to search
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
* <code>[[git push origin]] HEAD:/your-branch</code> | * <code>[[git push origin]] HEAD:/your-branch</code> | ||
* <code>[[git checkout]]</code> | * <code>[[git checkout]]</code> | ||
− | * [[allowed_methods]] | + | * <code>[[allowed_methods]]</code> |
+ | * [[HTTP HEAD method]] | ||
== See also == | == See also == |
Revision as of 14:17, 8 June 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
allowed_methods
- HTTP HEAD method
See also
git checkout
[-b
|master | main | -f
]
Advertising: