Git: Unterschied zwischen den Versionen
Aus www.wiki.ardumower.de
(→Software) |
(→Lokales Repository einchecken) |
||
Zeile 18: | Zeile 18: | ||
=Lokales Repository einchecken= | =Lokales Repository einchecken= | ||
− | * Linux: | + | Git: |
+ | * Linux: | ||
** git commit -am "Kommentar" (Git) | ** git commit -am "Kommentar" (Git) | ||
** git push | ** git push | ||
− | * Linux: svn commit -m "Kommentar" (SVN) | + | SVN: |
+ | * Linux: | ||
+ | ** svn commit -m "Kommentar" (SVN) | ||
* Windows: | * Windows: | ||
Version vom 26. Mai 2021, 12:45 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)
- git push
SVN:
- Linux:
- svn commit -m "Kommentar" (SVN)
- 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