Last active
March 21, 2018 11:38
-
-
Save silversonicaxel/75ed3e1abe7ff0809fa0 to your computer and use it in GitHub Desktop.
SVN #svn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| > version of svn | |
| $ svn --version | |
| > information of the current branch | |
| $ svn info | |
| > Checkout the repository | |
| $ svn checkout <new-url> <directory> | |
| $ svn checkout -r <revision-id> <new-url> <directory> | |
| > Switch | |
| > Relocate the repository | |
| $ svn relocate <new-url> | |
| > Ignore file | |
| $ svn changelist ignore-on-commit <filename> | |
| > Adding files to the repository | |
| $ svn add . | |
| $ svn add <filename> | |
| $ svn add <directory> | |
| $ svn add --depth=empty <directory-without-files> | |
| > Removing files from the repository | |
| $ svn delete <filename> | |
| > Removing files from the repository, leaving the file in the filesystem | |
| $ svn delete --keep-local <filename> | |
| > Update repository | |
| $ svn update | |
| > Commit repository | |
| $ svn commit -m "message of commit" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment