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:03] – 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 23: | Line 23: | ||
| Cloning into bare repository ' | Cloning into bare repository ' | ||
| done. | done. | ||
| + | |||
| + | Neues Repository auf Server hochladen: | ||
| + | scp -r 12decode.git fiasko@kudu.in-berlin.de:/ | ||
| + | |||
| + | Lokales Git Repository löschen: | ||
| + | rm -rf 12decode.git | ||
| + | |||
| + | Remote-Repository verbinden: | ||
| + | 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.1586462626.txt.gz · Last modified: by michfiel
