code:git
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| code:git [2020/04/09 22:12] – michfiel | code:git [2020/04/13 16:06] (current) – michfiel | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| Leeres Repository anlegen: | Leeres Repository anlegen: | ||
| < | < | ||
| - | cd / | + | cd / |
| git init | git init | ||
| - | Initialized empty Git repository in / | + | Initialized empty Git repository in / |
| </ | </ | ||
| Line 28: | Line 28: | ||
| Lokales Git Repository löschen: | Lokales Git Repository löschen: | ||
| - | rm -rf projectname.git | + | rm -rf 12decode.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.1586463131.txt.gz · Last modified: by michfiel
