code:git
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
code:git [2020/04/09 22:12] – michfiel | code:git [2020/04/09 22:21] – michfiel | ||
---|---|---|---|
Line 30: | Line 30: | ||
rm -rf projectname.git | rm -rf projectname.git | ||
- | Mit | + | Remote-Repository verbinden: |
git remote add origin ssh:// | git remote add origin ssh:// | ||
+ | |||
+ | Eventuell schon vorhandene Verbindung aufheben: | ||
+ | git remote rm origin | ||
+ | |||
+ | Änderungen vom lokalen ins Server-Repository hochladen: | ||
+ | git push origin master | ||
+ | |||
+ | Cloning a repository | ||
+ | |||
+ | git clone ssh:// | ||
+ | |||
+ | cd / | ||
+ | git commit | ||
+ | git push origin master | ||
+ | Everything up-to-date | ||
+ | |||
+ | |||
code/git.txt · Last modified: 2020/04/13 16:06 by michfiel