Two ways to install svn on mac (use brew to install svn and the visual tool SnailsvnLite)

1. Use homebrew to install svn

1.1 Install homebrew

1.2 Install and use svn

1.2.1 Install svn

  • Installation subversioncommand is as follows

    brew install subversion
    

    Insert image description here
    Insert image description here
    Okay, now the installation is successful, you can use it next

1.2.2 Using svn

1.2.2.1 Simple basic operations

  • destination checkoutTry this:
    • Let’s take a look at the example from the official website first:
      Insert image description here
    • Check out your own, as follows:
      svn checkout svn://ip/XXX/docs mytest
      
      Insert image description here
    • The files after checking out are under your own username file, as follows:
      Insert image description here
  • update svn
    语法:svn update [PATH...]
    
    svn update mytest
    
    Insert image description here
  • Add new file, submit
    • For newly added folders or files locally, please addreview them before submitting:
      svn add mytest/hi
      
      Insert image description here
    • Then submit ( -m "hi", submit remarks):
      Syntax: svn commit [PATH...]
      Or submit in this directory:svn commit
      svn commit mytest/ -m "hi"
      
      Insert image description here
  • Delete Files
    When deleting, be careful not to delete the local one first, directly order the deletion, and then handle the local one yourself.
    Insert image description here

1.2.2.2 Update svn account information

  • First focus on searching "keychain access
    Please add image description
  • Then click in to configure, as follows:
    Insert image description here

2. Install svn (visualization) in app sore

  • If you want to use a visual one like the one on win, then just tortoiseSvninstall it. Just find it and install it directly.SnailsvnLite
    Insert image description here
  • After installation, simple settings are required to open:
    Insert image description here
    Next, select the corresponding local path according to the prompts. Here I don’t have a local usr/local/bindirectory, so the second one is empty, and it seems that it can be created:
    Insert image description here
    Insert image description here
    just follow the next step, see Go to the following page and it will be installed:
    Insert image description here
  • start using:
    • Click on the work blog, and then follow the instructions below to proceed step by step, as follows:
      Please add image description
      Insert image description here
      Insert image description here
      Insert image description here
      Insert image description here
      Okay, checkout is complete here.
    • For daily updates and submissions, please refer to the picture below.
      Insert image description here
      Okay, it’s too detailed. Which method you prefer depends on your personal preference!

Guess you like

Origin blog.csdn.net/suixinfeixiangfei/article/details/128927267