Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
linux:git [2020/06/05 10:05] – [Basic usage] tmadelinux:git [2020/09/26 16:52] – [Basic usage] tmade
Line 56: Line 56:
   ssh-add /home/myuser/.ssh/id_rsa   ssh-add /home/myuser/.ssh/id_rsa
   git remote add gitlab git@git.local:myuser/kubernetes.git            #"gitlab" = name you can choose   git remote add gitlab git@git.local:myuser/kubernetes.git            #"gitlab" = name you can choose
-  git remote add origin ssh://git@hostname:8822/tmade/icinga.git+  git remote add origin ssh://git@hostname:8822/tmade/myrepo.git 
 +  git remote set-url origin ssh://git@hostname:8822/tmade/myrepo.git   #rename origin
   git remote                                                           #check, if remote location exists (test/ prod)   git remote                                                           #check, if remote location exists (test/ prod)
   git remote -v   git remote -v
linux/git.txt · Last modified: 2024/04/16 17:38 by tmade
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki