Anhang A. Vergleich von Git- und Subversion-Befehlen

Dieses Kapitel enthält eine Gegenüberstellung von äquivalenten Git- und Subversion-Befehlen in tabellarischer Form. Wo es passende Befehle für den Subversion-Adapter von Git gibt, wird dieser ebenfalls in der dritten Spalte der Tabelle aufgeführt.

Tabelle A.1 Repository-Befehle

SVN

Git

Git SVN Bridge

svnadmin create

git init

 

svn checkout

git clone

git svn clone

svn add

git add

 

svn commit

git commit

git svn dcommit

svn update

git pull

git push

git svn rebase

svn revert

git checkout – path

 

Tabelle A.2 Informationsbefehle

SVN

Git

Git SVN Bridge

svn diff | less

git diff

 

svn log | less

git log

git svn log

svn blame

git blame

git svn blame

svn status

git status

 

Tabelle A.3 Dateibefehle

SVN

Git

Git SVN Bridge

svn rm

git rm

 

svn mv

Get git kurz & gut now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.