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

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
  [[git push]] --set-upstream origin master
+
  [[git push]] --set-[[upstream]] [[origin]] [[master]]
 
  Enumerating objects: 3, done.
 
  Enumerating objects: 3, done.
 
  Counting objects: 100% (3/3), done.
 
  Counting objects: 100% (3/3), done.
Line 10: Line 10:
 
  Branch 'master' set up to track remote branch 'master' from 'origin'.
 
  Branch 'master' set up to track remote branch 'master' from 'origin'.
  
 +
[[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'
 +
 +
 +
git push --set-upstream origin master
 +
Username for 'https://github.com': yourusername
 +
Password for 'https://[email protected]':
 +
remote: Support for password authentication was removed on August 13, 2021. Please use a [[personal access token]] instead.
 +
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
 +
fatal: Authentication failed for 'https://github.com/yourusername/diario.git/'
 +
 +
[[git push --set-upstream origin]] yourbranch
 +
branch 'yourbranch' set up to track 'origin/yourbranch'.
 +
Everything up-to-date
  
 
== Related terms ==
 
== Related terms ==
Line 17: Line 32:
  
 
== See also ==
 
== See also ==
 +
* {{git push}}
 
* {{git}}
 
* {{git}}
  
 
[[Category:Git]]
 
[[Category:Git]]

Latest revision as of 11:12, 19 January 2024

git push --set-upstream origin master
Enumerating objects: 3, done.
Counting objects: 100% (3/3), done.
Writing objects: 100% (3/3), 223 bytes | 44.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To codecommit::us-east-1://your_repo
* [new branch]      master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.
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'


git push --set-upstream origin master
Username for 'https://github.com': yourusername
Password for 'https://[email protected]':
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/yourusername/diario.git/'
git push --set-upstream origin yourbranch
branch 'yourbranch' set up to track 'origin/yourbranch'.
Everything up-to-date

Related terms[edit]

See also[edit]

Advertising: