Git: Unterschied zwischen den Versionen
Aus www.wiki.ardumower.de
(→Lokales Repository einchecken) |
(→Lokales Repository einchecken) |
||
Zeile 20: | Zeile 20: | ||
Git: | Git: | ||
* Linux: | * Linux: | ||
− | + | git commit -am "Kommentar" | |
− | + | git push | |
SVN: | SVN: | ||
− | * Linux: svn commit -m "Kommentar" | + | * Linux: |
+ | svn commit -m "Kommentar" | ||
* Windows: | * Windows: | ||
Version vom 26. Mai 2021, 12:47 Uhr
Crash-Kurs Github / SVN
Inhaltsverzeichnis
Software
SVN:
- Linux: sudo apt-get install subversion
- Windows: https://tortoisesvn.net/downloads.de.html
Git:
- Windows: https://desktop.github.com/
- Linux: sudo apt-get install git
Repository erstmalig auschecken
Windows: Linux:
Entferntes Repository auschecken
Lokales Repository einchecken
Git:
- Linux:
git commit -am "Kommentar" git push
SVN:
- Linux:
svn commit -m "Kommentar"
- Windows:
Dateien zum entfernten Repository als hinzugefügt markieren
- Linux:
- git add file.doc
- Linux:
Lokalen Repository-Status einsehen
- Linux: git status
- Linux: svn status