Difference between revisions of "Git push -v"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
  
  git push -v
+
  [[git push]] -v
 
  fatal: You are not currently on a branch.
 
  fatal: You are not currently on a branch.
 
  To push the history leading to the current ([[detached]] HEAD)
 
  To push the history leading to the current ([[detached]] HEAD)

Revision as of 09:29, 16 November 2022


git push -v
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

See also

Advertising: