Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
|
software:scm [2010/07/07 20:08] cyril +svn Remove file from index |
software:scm [2013/09/19 16:40] (current) |
Common tasks: | Common tasks: |
^ Task ^ GIT ^ SVN ^ CVS ^ | ^ Task ^ GIT ^ SVN ^ CVS ^ |
| //Get Repository// | ''git clone <url> [<rep-name>]'' | ''svn checkout <url> [<rep-name>]'' | ''export CVSROOT=<url>;''<html><br/></html>''mkdir <rep-name>; cd <rep-name>;''<html><br/></html>''cvs checkout .''<html><br/></html>or<html><br/></html>''cvs -d <repo> checkout [-d <dest-dir>] <sub-dir>''| | | //Get Repository// | ''git clone <url> [<rep-name>]'' | ''svn checkout <url> [<rep-name>]'' | ''cvs -d <rep-name> checkout [-d <dest-dir>] <sub-dir|.>''| |
| //Update// | ''git pull'' | ''svn up'' | ''cvs update'' | | | //Update// | ''git pull'' | ''svn up'' | ''cvs update [-d]'' | |
| //Commit// | ''git commit -a; git push'' | ''svn commit'' | ''cvs commit'' | | | //Commit// | ''git commit -a; git push'' | ''svn commit'' | ''cvs commit'' | |
| //Add files// | ''git add <file>'' | ''svn add <file>'' | ''cvs add <file>'' | | | //Add files// | ''git add <file>'' | ''svn add <file>'' | ''cvs add <file>'' | |