1. Display the hidden folder
-
Open Terminal and select commands based on your version
-
Earlier OS X systems (10.6 to 10.8) used the following two commands to start or turn off the display of hidden files:
AppleShowAllFiles Yes && killall Finder // Display hidden files defaults Write com.apple.Finder AppleShowAllFiles Yes && killall Finder AppleShowAllFiles No && killall Finder // Do not show hidden filesCopy the code
-
When upgraded to OS X 10.9 Mavericks, these two commands need to be modified and become the following commands:
AppleShowAllFiles Yes && killall Finder // Display hidden files defaults Write com.apple.finder AppleShowAllFiles Yes && killall Finder AppleShowAllFiles No && killall Finder // Do not show hidden filesCopy the code
-
Shortcut:
-
In macOS Sierra, we can use the shortcut to ⌘⇧ (Command + Shift +.). To quickly show and hide hidden files (in Finder).
2. View the status of the file where the SVN resides.
-
svn status / svn st
3. Command lines in Unix
-
Command line in Unix
4. Cli of the SVN client
- SVN Checkout pulls the server code to create the local repository
- SVN COMMIT Commit to the server
- SVN UPDATE pulls server code to synchronize locally/causing local conflicts
- SVN add Adds the created file to local version control
- SVN delete Deletes a local file
- SVN remove Removes local files
- SVN move Moves local files
- SVN mkdir Creates a local management directory
- SVN Revert reverses this change
- SVN merge Merges the code of a certain version
5. The SVN often uses operation commands.
-
SVN Checkout pulls the server code to create the local repository
-
SVN COMMIT Commit to the server
-
SVN add – > SVN commit Adds the newly created file to the server
-
SVN delete -> SVN commit Deletes local files and synchronizes them to the server
-
SVN UPDATE pulls server code to synchronize locally/causing local conflicts