Difference between revisions of "Advice.detachedHead"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
  Turn off this advice by setting config variable [[advice.detachedHead]] to false
 
  Turn off this advice by setting config variable [[advice.detachedHead]] to false
 +
 +
 +
 +
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>
  
  

Latest revision as of 11:05, 27 March 2023

Advertising: