Hbuilder使用svn工具
1.打開Hbuilder開發工具,選擇「工具」-> 「安裝插件」
![圖片描述 圖片描述](http://static.javashuo.com/static/loading.gif)
2.選擇安裝svn插件
![圖片描述 圖片描述](http://static.javashuo.com/static/loading.gif)
3.重啓Hbuilder,如何打開Hbuilder的svn
3.1 依次打開「視圖」-> 「顯示視圖」 -> 「其餘」
![圖片描述 圖片描述](http://static.javashuo.com/static/loading.gif)
3.2 展開SVN,點擊「SVN資源庫」
![圖片描述 圖片描述](http://static.javashuo.com/static/loading.gif)
3.3便可打開SVN面板
![圖片描述 圖片描述](http://static.javashuo.com/static/loading.gif)
4.使用SVN面板新建資源庫位置
4.1在面板上右鍵「新建」-> 「資源庫位置」
![圖片描述 圖片描述](http://static.javashuo.com/static/loading.gif)
4.2在URL裏面填寫你的SVN代碼庫地址,點擊「完成」便可
![圖片描述 圖片描述](http://static.javashuo.com/static/loading.gif)
4.3能在Hbuilder上查看掛載在svnspot平臺上的代碼
![圖片描述 圖片描述](http://static.javashuo.com/static/loading.gif)
5.檢出代碼checkout到本地
5.1只有檢出代碼到本地才能進行修改,右鍵項目選擇」檢出爲...「
![圖片描述 圖片描述](http://static.javashuo.com/static/loading.gif)
5.2注意到這一步選擇「作爲工做空間中的項目檢出」,點擊「完成」
![圖片描述 圖片描述](http://static.javashuo.com/static/loading.gif)
進一步肯定
svn
5.3 最後能夠看到checkout檢出代碼到本地
![圖片描述 圖片描述](http://static.javashuo.com/static/loading.gif)
6.HBuilder上提交或更新代碼上svn等操做
只需有右鍵對應的文件夾,選擇「版本管理」-> 便可有「提交」、「更新」等操做
![圖片描述 圖片描述](http://static.javashuo.com/static/loading.gif)
歡迎關注本站公眾號,獲取更多信息