IOS開發之svn伺服器,ios開發svn

來源:互聯網
上載者:User

IOS開發之svn伺服器,ios開發svn
IOS開發之svn伺服器1. SVN伺服器位址

  自己建立一個SVN服務端, mac 10.9預設有svnadmin,所以只需要簡單配置一下就可以使用。

2.配置svn  2.1.建立版本庫

    開啟終端輸入命令列

      mkdir ~/repository

      svnadmin create ~/repository

 

  2.2.修改配置shift + i 進行編輯

    vi 開啟svnserve.conf ,passwd,authz進行編輯

svnserve.conf: [general] anon-access = read auth-access = write password-db = passwd 密碼檔案authz-db = authz 許可權檔案passwd: 添加使用者[users] harry = harryssecret sally = sallyssecret authz: 設定許可權[groups] [/] harry = rwsally = rw

 

  2.3.啟動SVN服務

    svnserve -d -r ~/repository

    沒有輸出才是正確的

  2.4. 串連資訊

     Versions串連:

      地址: svn://localhost (自動添加@harry)

      使用者名稱: harry

      密碼: harryssecret

3.Versions工具的使用

  註:

    1.當項目import進入Versions後(原來的工程沒有SVN,刪掉),

      檢出: checkout(checkout 後可以查看檔案,會發現多了一個.svn的檔案)

      如果是團體合作項目每天都需要從svn上下載下來新的代碼

     2.update項目,右鍵——update每天至少一次

     3.檔案的修改,添加,刪除檔案

      修改後重新提交

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.