{"id":29552,"date":"2025-04-20T10:36:13","date_gmt":"2025-04-20T02:36:13","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/29552.html"},"modified":"2025-04-20T10:36:13","modified_gmt":"2025-04-20T02:36:13","slug":"%e6%90%ad%e5%bb%bavisualsvn-server%e6%9c%8d%e5%8a%a1%e5%99%a8%e4%b8%8esvn%e5%ae%a2%e6%88%b7%e7%ab%af%ef%bc%8c%e4%b8%8b%e8%bd%bd%e6%88%96%e6%8f%90%e4%ba%a4%e4%bb%a3%e7%a0%81","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/29552.html","title":{"rendered":"\u642d\u5efaVisualSVN Server\u670d\u52a1\u5668\u4e0eSVN\u5ba2\u6237\u7aef\uff0c\u4e0b\u8f7d\u6216\u63d0\u4ea4\u4ee3\u7801"},"content":{"rendered":"<p>\u2003 \u2003 \u4ee3\u7801\u7248\u672c\u7ba1\u7406\u5de5\u5177&#xff0c;\u5e38\u89c1\u7684\u6709Git\u3001SVN\u8fd92\u6b3e\u3002Git\u5728Linux\u7cfb\u7edf\u4e0a\u7528\u7684\u6bd4\u8f83\u591a&#xff0c;\u800cSVN\u5219\u5728Windows\u7528\u7684\u6bd4\u8f83\u5e7f\u6cdb\u3002\u5f53\u7136&#xff0c;\u8fd92\u6b3e\u8f6f\u4ef6\u65e2\u6709Linux\u7248\u672c&#xff0c;\u4e5f\u6709Windows\u7248\u672c\u3002 \u2003 \u2003 \u4e0b\u9762&#xff0c;\u4ecb\u7ecdSVN\u7684\u5b89\u88c5\u65b9\u6cd5&#xff0c;SVN\u5305\u62ecSVN\u670d\u52a1\u5668\u3001SVN\u5ba2\u6237\u7aef\u3002 \u2003 \u2003 SVN\u670d\u52a1\u5668&#xff1a;VisualSVN Server(\u514d\u8d39) \u6216\u8005 Visual SVN(\u6536\u8d39) \u2003 \u2003 SVN\u5ba2\u6237\u7aef&#xff1a;TortoiseSVN(\u514d\u8d39) \u2003 \u2003 \u8fd9\u91cc&#xff0c;\u4ee5\u5728Window7 64\u4f4d\u7cfb\u7edf\u4e0a\u5b89\u88c5VisualSVN Server\u670d\u52a1\u5668&#xff0c;\u5728Ubuntu18 64\u4f4d\u7cfb\u7edf\u4e0a\u5b89\u88c5SVN\u5ba2\u6237\u7aef\u4e3a\u4f8b&#xff0c;\u8fdb\u884c\u8bf4\u660e\u3002<\/p>\n<h3>1 \u5b89\u88c5VisualSVN Server\u670d\u52a1\u5668<\/h3>\n<p>\u2003 \u2003 \u7531\u4e8eWindows7 64\u4f4d\u7cfb\u7edf&#xff0c;\u6700\u9ad8\u652f\u63014.3.11\u7248\u672c\u7684VisualSVN Server&#xff0c;\u6240\u4ee5\u8fd9\u91cc\u5b89\u88c5v4.3.11\u7248\u672c\u7684VisualSVN Server\u670d\u52a1\u5668\u3002 \u2003 \u2003  VisualSVN-Server\u5386\u53f2\u7248\u672c: https:\/\/www.visualsvn.com\/server\/changes\/ \u2003 \u2003  VisualSVN-Server v4.3.11\u5b98\u7f51\u5730\u5740: https:\/\/www.visualsvn.com\/files\/VisualSVN-Server-4.3.11-x64.msi  \u2003 \u2003 \u4e3a\u4e86\u907f\u514d\u4e0eVirsual Machine\u865a\u62df\u673a\u8f6f\u4ef6\u7684443\u7aef\u53e3\u51b2\u7a81&#xff0c;\u5728\u914d\u7f6eVisualSVN Server\u7aef\u53e3\u65f6&#xff0c;\u5c06\u670d\u52a1\u5668\u7684\u7aef\u53e3\u6539\u4e3a8443\u3002<\/p>\n<h3>2 \u914d\u7f6eVisualSVN Server\u670d\u52a1\u5668<\/h3>\n<h4>2.1 \u65b0\u5efa\u4e00\u4e2a\u5de5\u7a0b:one<\/h4>\n<p>\u2003 \u2003 VisualSVN Server\u5b89\u88c5\u597d\u4e4b\u540e&#xff0c;\u5c31\u9700\u8981\u5bf9\u5b83\u8fdb\u884c\u9879\u76ee\u540d\u79f0\u3001\u7528\u6237\u540d\u548c\u5bc6\u7801\u8fdb\u884c\u914d\u7f6e\u3002 \u70b9\u51fb\u684c\u9762\u5de6\u4e0b\u89d2\u7684\u3010\u5f00\u59cb\u3011\u2013\u300bVisualSVN Server &#8211;\u300bRepositories &#8211;\u300bCreate New Repositories &#xff0c;\u5982\u56fe(1)\u3001\u56fe(2)\u3001\u56fe(3)\u6240\u793a&#xff1a;<\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420023610-68045d9a0fab4.png\" \/> <\/p>\n<p>  \u56fe(1) \u5728VisualSVN Server\u7684\u6811\u5f62\u5217\u8868\u91cc&#xff0c;\u53f3\u51fb&#034;Respositories&#034; <\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420023610-68045d9a7b1cd.png\" \/> <\/p>\n<p>  \u56fe(2) \u9009\u4e2dFSFS\u683c\u5f0f <\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420023610-68045d9aa5d22.png\" \/> <\/p>\n<p>  \u56fe(3) \u586b\u5199\u5de5\u7a0b\u540d\u79f0 <\/p>\n<h4>2.2 \u6dfb\u52a0\u8bbf\u95ee\u8005&#xff0c;\u5e76\u8bbe\u7f6e\u8bfb\u5199\u6743\u9650<\/h4>\n<p>\u2003 \u2003 \u5728\u3010Repository Access Permissions\u3011\u9875\u9762&#xff0c;\u52fe\u9009\u201cCustomize permissions\u201d &#8211;\u300b\u70b9\u51fb\u3010Custom\u3011\u6309\u94ae &#8211;\u300bAdd &#8211;\u300bCreate User &#8211;\u300b\u6dfb\u52a0\u4e00\u4e2a\u8bbf\u95ee\u8005:alice&#xff0c;\u5e76\u8d4b\u4e88alice\u6709\u8bfb\u5199\u6743\u9650&#xff0c;\u5982\u56fe(4)\u3001\u56fe(5)\u3001\u56fe(6)\u6240\u793a&#xff1a;<\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420023610-68045d9acf2c8.png\" \/> <\/p>\n<p>  \u56fe(4) \u8bbe\u7f6e\u8bbf\u95ee\u6743\u9650 <\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420023611-68045d9b09908.png\" \/> <\/p>\n<p>  \u56fe(5) \u6dfb\u52a0\u4e00\u4e2a\u8bbf\u95ee\u8005: alice <\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420023611-68045d9b332fe.png\" \/> <\/p>\n<p>  \u56fe(6) \u8d4b\u4e88\u8bbf\u95ee\u8005\u76f8\u5173\u7684\u8bfb\u5199\u6743\u9650 <\/p>\n<h4>2.3 \u67e5\u770b\u8bbf\u95ee\u8005\u5217\u8868<\/h4>\n<p>\u2003 \u2003 \u5728VisualSVN Server\u7684\u6811\u5f62\u5217\u8868\u91cc&#xff0c;\u70b9\u51fb\u3010Users\u3011&#xff0c;\u5373\u53ef\u67e5\u770b\u6240\u6709\u7684\u8bbf\u95ee\u8005 &#xff0c;\u5982\u56fe(7)\u6240\u793a&#xff1a;<\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420023611-68045d9b5c4ca.png\" \/> <\/p>\n<p>  \u56fe(7) \u67e5\u770b\u8bbf\u95ee\u8005\u5217\u8868 <\/p>\n<h3>3 \u5b89\u88c5SVN\u5ba2\u6237\u7aef<\/h3>\n<p>\u2003 \u2003 \u672c\u6587\u662f\u5728Ubuntu18 64\u4f4d\u7cfb\u7edf\u4e0a&#xff0c;\u5b89\u88c5SVN\u5ba2\u6237\u7aef\u3002\u5728Ubuntu18\u91cc&#xff0c;\u6253\u5f00Terminal\u9ed1\u6846\u6846&#xff0c;\u8f93\u5165\u5982\u4e0b\u547d\u4ee4&#xff0c;\u5373\u53ef\u5b89\u88c5SVN\u5ba2\u6237\u7aef&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> <span class=\"token function\">apt-get<\/span> <span class=\"token function\">install<\/span> subversion<\/p>\n<h3>4 \u914d\u7f6eSVN\u5ba2\u6237\u7aef<\/h3>\n<p>\u2003 \u2003 \u5728Ubuntu18\u4e0a&#xff0c;\u5b89\u88c5\u597dSVN\u5ba2\u6237\u7aef\u4e4b\u540e&#xff0c;\u9700\u8981\u628aSVN\u7684\u8d26\u53f7\u548c\u5bc6\u7801&#xff0c;\u586b\u5199\u5230passwd\u6587\u4ef6\u91cc&#xff0c;\u5177\u4f53\u5982\u4e0b\u3002<\/p>\n<h4>4.1 \u65b0\u5efaSVN\u7684\u914d\u7f6e\u6587\u4ef6<\/h4>\n<p>\u2003 \u2003 \u65b0\u5efaSVN\u7684\u914d\u7f6e\u6587\u4ef6\u5939svnConfig&#xff0c;\u5e76\u8d4b\u4e88\u8bfb\u5199\u6743\u9650&#xff0c;\u4f9d\u6b21\u8f93\u5165\u5982\u4e0b\u547d\u4ee4&#xff1a;<\/p>\n<p><span class=\"token function\">sudo<\/span> svnadmin create svnConfig<br \/>\n<span class=\"token function\">sudo<\/span> <span class=\"token function\">chmod<\/span> -R <span class=\"token number\">777<\/span> svnConfig<\/p>\n<h4>4.2 \u4fee\u6539\u5bc6\u7801\u6587\u4ef6: conf\/passwd<\/h4>\n<p>\u2003 \u2003 \u5728svnConfig\/conf\/passwd\u91cc&#xff0c;\u6dfb\u52a0\u81ea\u5df1\u7684svn\u8d26\u53f7,\u683c\u5f0f\u4e3a&#034;\u7528\u6237\u540d&#061;\u5bc6\u7801&#034;&#xff0c;\u6bd4\u5982, alice &#061; alice \u2003 \u2003 \u5728\/svnConfig\/conf\/passwd\u6587\u4ef6\u7684\u6587\u4ef6\u672b\u5c3e&#xff0c;\u6dfb\u52a0\u5982\u4e0b1\u884c&#xff1a;<\/p>\n<p>alice <span class=\"token operator\">&#061;<\/span> alice<\/p>\n<h4>4.3 \u4fee\u6539\u6743\u9650\u6587\u4ef6: conf\/authz<\/h4>\n<p>\u2003 \u2003 \u5728svnConfig\/conf\/authz\u6587\u4ef6\u7684\u6587\u4ef6\u672b\u5c3e&#xff0c;\u6dfb\u52a0\u5982\u4e0b2\u884c<\/p>\n<p><span class=\"token punctuation\">[<\/span>\/<span class=\"token punctuation\">]<\/span><br \/>\nalice <span class=\"token operator\">&#061;<\/span> rw<\/p>\n<p>\u6ce8\u610f&#xff1a;<\/p>\n<ul>\n<li>\u7b2c\u4e00\u884c\u7684 [\/] \u4e0d\u80fd\u5c11&#xff1b;<\/li>\n<li>\u7b2c\u4e8c\u884c&#034;alice&#061;rw&#034;&#xff0c;\u8868\u793a\u8d4b\u4e88alice\u6709\u8bfb\u3001\u6709\u5199\u6743\u9650\u3002<\/li>\n<\/ul>\n<h4>4.4 \u4f7f\u80fd\u914d\u7f6e: conf\/svnserve.conf<\/h4>\n<p>\u2003 \u2003 \u5728svnConfig\/conf\/svnserve.conf\u91cc&#xff0c;\u4f7f\u80fdanon-access\u3001auth-access\u3001password-db\u3001authz-db\u6743\u9650&#xff0c;\u5373\u53bb\u6389\u8fd9\u4e9b\u5173\u952e\u5b57\u524d\u9762\u7684#\u53f7&#xff0c;\u8868\u793a\u5f00\u542f\u6216\u4f7f\u80fd\u8be5\u6743\u9650&#xff0c;\u5982\u56fe&#xff08;8&#xff09;\u6240\u793a&#xff1a;<\/p>\n<p>\u2003 \u2003 \/\/svnConfig\/conf\/svnserve.conf\u5185\u5bb9\u5982\u4e0b&#xff1a;<\/p>\n<p><span class=\"token comment\">### This file controls the configuration of the svnserve daemon, if you<\/span><br \/>\n<span class=\"token comment\">### use it to allow access to this repository.  (If you only allow<\/span><br \/>\n<span class=\"token comment\">### access through http: and\/or file: URLs, then this file is<\/span><br \/>\n<span class=\"token comment\">### irrelevant.)<\/span><\/p>\n<p><span class=\"token comment\">### Visit http:\/\/subversion.apache.org\/ for more information.<\/span><\/p>\n<p><span class=\"token punctuation\">[<\/span>general<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token comment\">### The anon-access and auth-access options control access to the<\/span><br \/>\n<span class=\"token comment\">### repository for unauthenticated (a.k.a. anonymous) users and<\/span><br \/>\n<span class=\"token comment\">### authenticated users, respectively.<\/span><br \/>\n<span class=\"token comment\">### Valid values are &#034;write&#034;, &#034;read&#034;, and &#034;none&#034;.<\/span><br \/>\n<span class=\"token comment\">### Setting the value to &#034;none&#034; prohibits both reading and writing;<\/span><br \/>\n<span class=\"token comment\">### &#034;read&#034; allows read-only access, and &#034;write&#034; allows complete <\/span><br \/>\n<span class=\"token comment\">### read\/write access to the repository.<\/span><br \/>\n<span class=\"token comment\">### The sample settings below are the defaults and specify that anonymous<\/span><br \/>\n<span class=\"token comment\">### users have read-only access to the repository, while authenticated<\/span><br \/>\n<span class=\"token comment\">### users have read and write access to the repository.<\/span><br \/>\nanon-access <span class=\"token operator\">&#061;<\/span> <span class=\"token builtin class-name\">read<\/span><br \/>\nauth-access <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">write<\/span><br \/>\n<span class=\"token comment\">### The password-db option controls the location of the password<\/span><br \/>\n<span class=\"token comment\">### database file.  Unless you specify a path starting with a \/,<\/span><br \/>\n<span class=\"token comment\">### the file&#039;s location is relative to the directory containing<\/span><br \/>\n<span class=\"token comment\">### this configuration file.<\/span><br \/>\n<span class=\"token comment\">### If SASL is enabled (see below), this file will NOT be used.<\/span><br \/>\n<span class=\"token comment\">### Uncomment the line below to use the default password file.<\/span><br \/>\npassword-db <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">passwd<\/span><br \/>\n<span class=\"token comment\">### The authz-db option controls the location of the authorization<\/span><br \/>\n<span class=\"token comment\">### rules for path-based access control.  Unless you specify a path<\/span><br \/>\n<span class=\"token comment\">### starting with a \/, the file&#039;s location is relative to the<\/span><br \/>\n<span class=\"token comment\">### directory containing this file.  The specified path may be a<\/span><br \/>\n<span class=\"token comment\">### repository relative URL (^\/) or an absolute file:\/\/ URL to a text<\/span><br \/>\n<span class=\"token comment\">### file in a Subversion repository.  If you don&#039;t specify an authz-db,<\/span><br \/>\n<span class=\"token comment\">### no path-based access control is done.<\/span><br \/>\n<span class=\"token comment\">### Uncomment the line below to use the default authorization file.<\/span><br \/>\nauthz-db <span class=\"token operator\">&#061;<\/span> authz<br \/>\n<span class=\"token comment\">### The groups-db option controls the location of the file with the<\/span><br \/>\n<span class=\"token comment\">### group definitions and allows maintaining groups separately from the<\/span><br \/>\n<span class=\"token comment\">### authorization rules.  The groups-db file is of the same format as the<\/span><br \/>\n<span class=\"token comment\">### authz-db file and should contain a single [groups] section with the<\/span><br \/>\n<span class=\"token comment\">### group definitions.  If the option is enabled, the authz-db file cannot<\/span><br \/>\n<span class=\"token comment\">### contain a [groups] section.  Unless you specify a path starting with<\/span><br \/>\n<span class=\"token comment\">### a \/, the file&#039;s location is relative to the directory containing this<\/span><br \/>\n<span class=\"token comment\">### file.  The specified path may be a repository relative URL (^\/) or an<\/span><br \/>\n<span class=\"token comment\">### absolute file:\/\/ URL to a text file in a Subversion repository.<\/span><br \/>\n<span class=\"token comment\">### This option is not being used by default.<\/span><br \/>\n<span class=\"token comment\"># groups-db &#061; groups<\/span><br \/>\n<span class=\"token comment\">### This option specifies the authentication realm of the repository.<\/span><br \/>\n<span class=\"token comment\">### If two repositories have the same authentication realm, they should<\/span><br \/>\n<span class=\"token comment\">### have the same password database, and vice versa.  The default realm<\/span><br \/>\n<span class=\"token comment\">### is repository&#039;s uuid.<\/span><br \/>\n<span class=\"token comment\"># realm &#061; My First Repository<\/span><br \/>\n<span class=\"token comment\">### The force-username-case option causes svnserve to case-normalize<\/span><br \/>\n<span class=\"token comment\">### usernames before comparing them against the authorization rules in the<\/span><br \/>\n<span class=\"token comment\">### authz-db file configured above.  Valid values are &#034;upper&#034; (to upper-<\/span><br \/>\n<span class=\"token comment\">### case the usernames), &#034;lower&#034; (to lowercase the usernames), and<\/span><br \/>\n<span class=\"token comment\">### &#034;none&#034; (to compare usernames as-is without case conversion, which<\/span><br \/>\n<span class=\"token comment\">### is the default behavior).<\/span><br \/>\n<span class=\"token comment\"># force-username-case &#061; none<\/span><br \/>\n<span class=\"token comment\">### The hooks-env options specifies a path to the hook script environment <\/span><br \/>\n<span class=\"token comment\">### configuration file. This option overrides the per-repository default<\/span><br \/>\n<span class=\"token comment\">### and can be used to configure the hook script environment for multiple <\/span><br \/>\n<span class=\"token comment\">### repositories in a single file, if an absolute path is specified.<\/span><br \/>\n<span class=\"token comment\">### Unless you specify an absolute path, the file&#039;s location is relative<\/span><br \/>\n<span class=\"token comment\">### to the directory containing this file.<\/span><br \/>\n<span class=\"token comment\"># hooks-env &#061; hooks-env<\/span><\/p>\n<p><span class=\"token punctuation\">[<\/span>sasl<span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token comment\">### This option specifies whether you want to use the Cyrus SASL<\/span><br \/>\n<span class=\"token comment\">### library for authentication. Default is false.<\/span><br \/>\n<span class=\"token comment\">### This section will be ignored if svnserve is not built with Cyrus<\/span><br \/>\n<span class=\"token comment\">### SASL support; to check, run &#039;svnserve &#8211;version&#039; and look for a line<\/span><br \/>\n<span class=\"token comment\">### reading &#039;Cyrus SASL authentication is available.&#039;<\/span><br \/>\n<span class=\"token comment\"># use-sasl &#061; true<\/span><br \/>\n<span class=\"token comment\">### These options specify the desired strength of the security layer<\/span><br \/>\n<span class=\"token comment\">### that you want SASL to provide. 0 means no encryption, 1 means<\/span><br \/>\n<span class=\"token comment\">### integrity-checking only, values larger than 1 are correlated<\/span><br \/>\n<span class=\"token comment\">### to the effective key length for encryption (e.g. 128 means 128-bit<\/span><br \/>\n<span class=\"token comment\">### encryption). The values below are the defaults.<\/span><br \/>\n<span class=\"token comment\"># min-encryption &#061; 0<\/span><br \/>\n<span class=\"token comment\"># max-encryption &#061; 256<\/span><\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420023611-68045d9b809fe.png\" \/> <\/p>\n<p>  \u56fe(8) \u53bb\u6389\u524d\u9762\u7684#\u53f7&#xff0c;\u4ee5\u4f7f\u80fd\u8be5\u6743\u9650 <\/p>\n<h4>4.5 \u542f\u52a8SVN\u5ba2\u6237\u7aef\u7684\u7aef\u53e3\u76d1\u542c<\/h4>\n<p>\u2003 \u2003 \u542f\u52a8SVN\u5ba2\u6237\u7aef\u7684\u7aef\u53e3\u76d1\u542c&#xff0c;\u5176\u547d\u4ee4\u5982\u4e0b&#xff1a;<\/p>\n<p>svnserve &#8211;listen-port<span class=\"token operator\">&#061;<\/span><span class=\"token number\">8899<\/span> -d -r svnConfig<\/p>\n<p>\u2003 \u2003 \u67e5\u8be2svn\u8fdb\u7a0b&#xff0c;\u547d\u4ee4\u5982\u4e0b&#xff1a;<\/p>\n<p><span class=\"token function\">ps<\/span> -ef<span class=\"token operator\">|<\/span><span class=\"token function\">grep<\/span> svn<\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420023611-68045d9bb08cf.png\" \/> <\/p>\n<p>  \u56fe(9) \u67e5\u770bsvn\u8fdb\u7a0b <\/p>\n<h3>5 \u9879\u76ee\u4e0b\u62c9\u4e0e\u63d0\u4ea4<\/h3>\n<p>\u2003 \u2003 \u4ee3\u7801\u4eceSVN\u5ba2\u6237\u7aef \u5230VisualSVN Server\u670d\u52a1\u5668&#xff0c;\u8868\u793a\u201c\u9879\u76ee\u63d0\u4ea4\u201d commit&#xff1b; \u2003 \u2003 \u4ee3\u7801\u4eceVisualSVN Server\u670d\u52a1\u5668 \u5230SVN\u5ba2\u6237\u7aef&#xff0c;\u8868\u793a&#034;\u9879\u76ee\u4e0b\u62c9&#034; checkout; \u2003 \u2003 \u6709\u4e9b\u5730\u65b9&#xff0c;\u4e5f\u628a&#034;\u9879\u76ee\u4e0b\u62c9&#034;\u79f0\u4e3a&#034;\u9879\u76ee\u5bfc\u5165&#034;\u3001\u9879\u76ee\u68c0\u51fa&#xff0c;\u5b83\u4eec\u7684\u542b\u4e49\u90fd\u662f\u76f8\u540c\u7684\u3002<\/p>\n<h4>5.1 \u83b7\u53d6\u9879\u76ee\u7684URL\u5730\u5740<\/h4>\n<p>\u2003 \u2003 \u6253\u5f00VisualSVN Server &#8211;\u300bRepositories &#8211;\u300b\u53f3\u51fb\u4efb\u610f\u4e00\u4e2a\u5de5\u7a0b&#xff0c;\u6bd4\u5982: one\u5de5\u7a0b &#8211;\u300bCopy URL to Clipboard, \u5982\u56fe(10)\u6240\u793a&#xff0c;\u5176URL\u5185\u5bb9\u5982\u4e0b&#xff1a;<\/p>\n<p>https:\/\/192.168.0.1:8443\/one<\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420023611-68045d9bd3787.png\" \/> <\/p>\n<p>  \u56fe(10) \u83b7\u53d6\u9879\u76ee\u670d\u52a1\u5668\u7684URL\u8def\u5f84 <\/p>\n<h4>5.2 \u9879\u76ee\u4e0b\u62c9\u6216\u9879\u76ee\u5bfc\u5165<\/h4>\n<p>\u2003 \u2003 \u8fd9\u91cc\u4f7f\u7528one\u5de5\u7a0b\u4e3a\u4f8b&#xff0c;\u8fdb\u884c\u8bf4\u660e&#xff0c;\u6bd4\u5982&#xff0c;\u5bfc\u5165one\u5de5\u7a0b&#xff0c;\u5176\u547d\u4ee4\u5982\u4e0b&#xff1a;<\/p>\n<p>svn co https:\/\/192.168.0.1:8443\/one<\/p>\n<p>\u2003 \u2003 co \u662fcheckout\u662f\u7f29\u5199\u3002<\/p>\n<h4>5.3 \u6dfb\u52a0\u6587\u4ef6\u6216\u6587\u4ef6\u5939<\/h4>\n<p><span class=\"token comment\">## 1&#xff09;\u6dfb\u52a0\u6240\u6709\u7684.h\u6587\u4ef6<\/span><br \/>\nsvn <span class=\"token function\">add<\/span> xxx.h<\/p>\n<p><span class=\"token comment\">## 2&#xff09;\u6dfb\u52a0\u6240\u6709\u7684.cpp\u6587\u4ef6<\/span><br \/>\nsvn <span class=\"token function\">add<\/span> xxx.cpp<\/p>\n<p><span class=\"token comment\">## 3&#xff09;\u6dfb\u52a0hello\u6587\u4ef6\u5939<\/span><br \/>\nsvn <span class=\"token function\">add<\/span> hello\/<\/p>\n<h4>5.4 \u67e5\u770b\u6587\u4ef6\u72b6\u6001<\/h4>\n<p>svn status<\/p>\n<h4>5.5 \u63d0\u4ea4\u4ee3\u7801\u5230\u670d\u52a1\u5668<\/h4>\n<p>svn commit -m <span class=\"token string\">&#034;\u6dfb\u52a0hello\u6587\u4ef6&#034;<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.1k\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf31\u6b21\u3002\u4ee3\u7801\u7248\u672c\u7ba1\u7406\u5de5\u5177\uff0c\u5e38\u89c1\u7684\u6709Git\u3001SVN\u8fd92\u6b3e\u3002Git\u5728Linux\u7cfb\u7edf\u4e0a\u7528\u7684\u6bd4\u8f83\u591a\uff0c\u800cSVN\u5219\u5728Windows\u7528\u7684\u6bd4\u8f83\u5e7f\u6cdb\u3002\u5f53\u7136\uff0c\u8fd92\u6b3e\u8f6f\u4ef6\u65e2\u6709Linux\u7248\u672c\uff0c\u4e5f\u6709Windows\u7248\u672c\u3002\u4e0b\u9762\uff0c\u4ecb\u7ecdSVN\u7684\u5b89\u88c5\u65b9\u6cd5\uff0cSVN\u5305\u62ecSVN\u670d\u52a1\u5668\u3001SVN\u5ba2\u6237\u7aef\u3002SVN\u670d\u52a1\u5668\uff1aVisualSVN Server(\u514d\u8d39)  \u6216\u8005 Visual SVN(\u6536\u8d39)SVN\u5ba2\u6237\u7aef\uff1aTortoiseSVN(\u514d\u8d39)_visual svn<\/p>\n","protected":false},"author":2,"featured_media":29542,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[55,218,394,43,2226,44],"topic":[],"class_list":["post-29552","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-c","tag-qt","tag-svn","tag-43","tag-2226","tag-44"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u642d\u5efaVisualSVN Server\u670d\u52a1\u5668\u4e0eSVN\u5ba2\u6237\u7aef\uff0c\u4e0b\u8f7d\u6216\u63d0\u4ea4\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/29552.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u642d\u5efaVisualSVN Server\u670d\u52a1\u5668\u4e0eSVN\u5ba2\u6237\u7aef\uff0c\u4e0b\u8f7d\u6216\u63d0\u4ea4\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.1k\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf31\u6b21\u3002\u4ee3\u7801\u7248\u672c\u7ba1\u7406\u5de5\u5177\uff0c\u5e38\u89c1\u7684\u6709Git\u3001SVN\u8fd92\u6b3e\u3002Git\u5728Linux\u7cfb\u7edf\u4e0a\u7528\u7684\u6bd4\u8f83\u591a\uff0c\u800cSVN\u5219\u5728Windows\u7528\u7684\u6bd4\u8f83\u5e7f\u6cdb\u3002\u5f53\u7136\uff0c\u8fd92\u6b3e\u8f6f\u4ef6\u65e2\u6709Linux\u7248\u672c\uff0c\u4e5f\u6709Windows\u7248\u672c\u3002\u4e0b\u9762\uff0c\u4ecb\u7ecdSVN\u7684\u5b89\u88c5\u65b9\u6cd5\uff0cSVN\u5305\u62ecSVN\u670d\u52a1\u5668\u3001SVN\u5ba2\u6237\u7aef\u3002SVN\u670d\u52a1\u5668\uff1aVisualSVN Server(\u514d\u8d39) \u6216\u8005 Visual SVN(\u6536\u8d39)SVN\u5ba2\u6237\u7aef\uff1aTortoiseSVN(\u514d\u8d39)_visual svn\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/29552.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-20T02:36:13+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420023610-68045d9a0fab4.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/29552.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/29552.html\",\"name\":\"\u642d\u5efaVisualSVN Server\u670d\u52a1\u5668\u4e0eSVN\u5ba2\u6237\u7aef\uff0c\u4e0b\u8f7d\u6216\u63d0\u4ea4\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-20T02:36:13+00:00\",\"dateModified\":\"2025-04-20T02:36:13+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/29552.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/29552.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/29552.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u642d\u5efaVisualSVN Server\u670d\u52a1\u5668\u4e0eSVN\u5ba2\u6237\u7aef\uff0c\u4e0b\u8f7d\u6216\u63d0\u4ea4\u4ee3\u7801\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u642d\u5efaVisualSVN Server\u670d\u52a1\u5668\u4e0eSVN\u5ba2\u6237\u7aef\uff0c\u4e0b\u8f7d\u6216\u63d0\u4ea4\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/29552.html","og_locale":"zh_CN","og_type":"article","og_title":"\u642d\u5efaVisualSVN Server\u670d\u52a1\u5668\u4e0eSVN\u5ba2\u6237\u7aef\uff0c\u4e0b\u8f7d\u6216\u63d0\u4ea4\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.1k\u6b21\uff0c\u70b9\u8d5e20\u6b21\uff0c\u6536\u85cf31\u6b21\u3002\u4ee3\u7801\u7248\u672c\u7ba1\u7406\u5de5\u5177\uff0c\u5e38\u89c1\u7684\u6709Git\u3001SVN\u8fd92\u6b3e\u3002Git\u5728Linux\u7cfb\u7edf\u4e0a\u7528\u7684\u6bd4\u8f83\u591a\uff0c\u800cSVN\u5219\u5728Windows\u7528\u7684\u6bd4\u8f83\u5e7f\u6cdb\u3002\u5f53\u7136\uff0c\u8fd92\u6b3e\u8f6f\u4ef6\u65e2\u6709Linux\u7248\u672c\uff0c\u4e5f\u6709Windows\u7248\u672c\u3002\u4e0b\u9762\uff0c\u4ecb\u7ecdSVN\u7684\u5b89\u88c5\u65b9\u6cd5\uff0cSVN\u5305\u62ecSVN\u670d\u52a1\u5668\u3001SVN\u5ba2\u6237\u7aef\u3002SVN\u670d\u52a1\u5668\uff1aVisualSVN Server(\u514d\u8d39) \u6216\u8005 Visual SVN(\u6536\u8d39)SVN\u5ba2\u6237\u7aef\uff1aTortoiseSVN(\u514d\u8d39)_visual svn","og_url":"https:\/\/www.wsisp.com\/helps\/29552.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-20T02:36:13+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250420023610-68045d9a0fab4.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"5 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/29552.html","url":"https:\/\/www.wsisp.com\/helps\/29552.html","name":"\u642d\u5efaVisualSVN Server\u670d\u52a1\u5668\u4e0eSVN\u5ba2\u6237\u7aef\uff0c\u4e0b\u8f7d\u6216\u63d0\u4ea4\u4ee3\u7801 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-20T02:36:13+00:00","dateModified":"2025-04-20T02:36:13+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/29552.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/29552.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/29552.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u642d\u5efaVisualSVN Server\u670d\u52a1\u5668\u4e0eSVN\u5ba2\u6237\u7aef\uff0c\u4e0b\u8f7d\u6216\u63d0\u4ea4\u4ee3\u7801"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/29552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=29552"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/29552\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/29542"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=29552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=29552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=29552"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=29552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}