Difference between revisions of "HEAD"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 6: Line 6:
 
== Related ==
 
== Related ==
 
* <code>[[git checkout new branch]]</code>
 
* <code>[[git checkout new branch]]</code>
 
+
* <code>[[git push origin]] HEAD:/your-branch</code>
[[git push origin]] HEAD:/your-branch
 
 
* <code>[[git checkout]]</code>
 
* <code>[[git checkout]]</code>
 
* <code>[[Detached HEAD]]</code>
 
* <code>[[Detached HEAD]]</code>

Revision as of 13:49, 16 March 2023

HEAD is now at XXXXX ...


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

See also

Advertising: