Difference between revisions of "HEAD"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
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. | ||
Line 9: | Line 10: | ||
* <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]] | ||
+ | * [[Best practices design patterns: optimizing Amazon S3 performance]] | ||
== See also == | == See also == |
Latest revision as of 16:33, 21 January 2025
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[edit]
git checkout new branch
git push origin HEAD:/your-branch
git checkout
allowed_methods
- HTTP HEAD method
- Best practices design patterns: optimizing Amazon S3 performance
See also[edit]
git checkout
[-b
|master | main | -f
]
Advertising: