Difference between revisions of "Git remote add"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
* <code>[[git remote]] add</code>
 
* <code>[[git remote]] add</code>
 +
* <code>[[git remote add origin]]</code>
  
 
  [[git remote add]] [[origin]] [email protected]:/username/project.git
 
  [[git remote add]] [[origin]] [email protected]:/username/project.git
Line 8: Line 9:
 
  Review: [[.git/config]]
 
  Review: [[.git/config]]
  
  [[git remote add origin]] your_URL
+
  [[git remote add origin]] https://github.com/your_user/your_repo.git
 +
 
 +
== Errors ==
 +
[[git remote add origin]]  https://github.com/your_user/your_repo.git
 
  [[error: remote origin already exists.]]
 
  [[error: remote origin already exists.]]
 
   
 
   
Line 19: Line 23:
 
* <code>[[git config --list]]</code>
 
* <code>[[git config --list]]</code>
 
* <code>[[git push]]</code>, <code>[[git push --set-upstream origin master]]</code>
 
* <code>[[git push]]</code>, <code>[[git push --set-upstream origin master]]</code>
 +
* <code>[[git clone]]</code>
  
 
== See also ==
 
== See also ==
* {{git}}
+
* {{git remote add}}
 +
* {{git remote}}
  
  
 
[[Category:Git]]
 
[[Category:Git]]

Latest revision as of 16:21, 30 January 2025

Advertising: