Difference between revisions of "Advice.detachedHead"

From wikieduonline
Jump to navigation Jump to search
m (Newworld3 moved page Detachedhead to Advice.detachedHead)
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
  
 +
 +
git push
 +
[[fatal: You are not currently on a branch.]]
 +
 +
To push the history leading to the current (detached HEAD)
 +
state now, use
 +
 +
  [[git push origin HEAD]]:<name-of-remote-branch>
 +
 +
 +
== Related ==
 
  [[git checkout]]
 
  [[git checkout]]
 
  [[git push origin]]
 
  [[git push origin]]

Latest revision as of 11:05, 27 March 2023

Advertising: