Git: Unterschied zwischen den Versionen
Aus www.wiki.ardumower.de
| Zeile 1: | Zeile 1: | ||
| − | Crash-Kurs Github / | + | Crash-Kurs Github |
| + | |||
| + | =Windows-Software= | ||
| + | Download: https://desktop.github.com/ | ||
| − | |||
| − | |||
| − | |||
| − | |||
=Linux/Windows Terminal= | =Linux/Windows Terminal= | ||
| − | + | 1. Download: sudo apt-get install git | |
| − | + | ||
| − | + | ||
| − | + | 2. Repository erstmalig auschecken | |
| − | + | ||
| − | + | ||
| − | |||
| + | 3. Entferntes Repository auschecken | ||
| + | 4. Lokales Repository einchecken | ||
| − | |||
| − | |||
| − | |||
git commit -am "Kommentar" | git commit -am "Kommentar" | ||
git push | git push | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | 5. Dateien zum entfernten Repository als hinzugefügt markieren= | |
| − | + | git add file.doc | |
| − | + | ||
| − | + | ||
| − | + | 6. Lokalen Repository-Status einsehen | |
| − | + | git status | |
| − | + | ||
Version vom 26. Mai 2021, 12:53 Uhr
Crash-Kurs Github
Windows-Software
Download: https://desktop.github.com/
Linux/Windows Terminal
1. Download: sudo apt-get install git
2. Repository erstmalig auschecken
3. Entferntes Repository auschecken
4. Lokales Repository einchecken
git commit -am "Kommentar" git push
5. Dateien zum entfernten Repository als hinzugefügt markieren=
git add file.doc
6. Lokalen Repository-Status einsehen
git status