git push -v

From wikieduonline
Revision as of 09:31, 16 November 2022 by Welcome (talk | contribs)
Jump to navigation Jump to search


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>


git status
HEAD detached from origin/your-branch-name
nothing to commit, working tree clean


Related

See also

Advertising: