fatal: You are not currently on a branch

From wikieduonline
Revision as of 12:12, 27 March 2023 by Welcome (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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>
 git push origin HEAD:name-of-remote-branch-without-origin/

Related[edit]

See also[edit]

Advertising: