Difference between revisions of "Git push --set-upstream origin main"

From wikieduonline
Jump to navigation Jump to search
(Created page with " git push --set-upstream origin main error: src refspec main does not match any error: failed to push some refs to '[email protected]:xxxxx/yyyyy.git'")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
  [[git push]] --set-upstream origin main
+
{{lowercase}}
 +
  [[git push]] [[--set-upstream]] [[origin]] [[main]]
 
  error: src [[refspec]] main does not match any
 
  error: src [[refspec]] main does not match any
 
  error: failed to push some refs to '[email protected]:xxxxx/yyyyy.git'
 
  error: failed to push some refs to '[email protected]:xxxxx/yyyyy.git'
 +
 +
 +
[[git push --set-upstream origin master]]
 +
 +
 +
== See also ==
 +
* {{git push}}
 +
 +
[[Category:Git]]

Latest revision as of 12:11, 19 October 2021

Advertising: