Git: Unterschied zwischen den Versionen

Aus www.wiki.ardumower.de
Wechseln zu: Navigation, Suche
(Lokales Repository einchecken)
(Lokales Repository einchecken)
Zeile 20: Zeile 20:
 
Git:  
 
Git:  
 
* Linux:
 
* Linux:
1. git commit -am "Kommentar" (Git)
+
1. git commit -am "Kommentar" (Git)
2. git push  
+
2. git push  
 
SVN:
 
SVN:
 
* Linux:
 
* Linux:

Version vom 26. Mai 2021, 12:46 Uhr

Crash-Kurs Github / SVN

Software

SVN:

Git:

Repository erstmalig auschecken

Windows: Linux:

Entferntes Repository auschecken

Lokales Repository einchecken

Git:

  • Linux:
1. git commit -am "Kommentar" (Git)
2. 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