Difference between revisions of "Git push -v"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
*<code>[[git push]] -v</code>
+
* <code>[[git push]] -v</code>
*<code>[[GIT_SSH_COMMAND]]="ssh -v" [[GIT_TRACE]]=1 git push -vvv -u origin main</code>
+
* <code>[[GIT_SSH_COMMAND]]="ssh -v" [[GIT_TRACE]]=1 git push -vvv -u origin main</code>
 +
 
 +
 
 +
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 ==
 
== Related ==

Revision as of 09:28, 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: