專案中使用SVN簡介

weixin_33912246發表於2018-09-27


專案中使用SVN簡介

1、公司會給每個人分配1個SVN賬號(這個一般由公司運維等相關人員建立)

如:zhaojilong / 123456

2、公司會將SVN專案地址發給大家

如:[https://SZSVR101:9443/svn/tp_repo_0906/](https://szsvr101:9443/svn/tp_repo_0906/) 

3、自己在本機新建個專案存放路徑

如:

a, 先在C盤建立個資料夾: tp_repo_0906

b, 在剛建立好的資料夾下新建個專案,如: hat_zhaojilong

4、以下為相關截圖說明

![image](http://upload-images.jianshu.io/upload_images/10517060-a14b8b5733323b85.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-281314e2b94ca274.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-2ac5086cf4809bc6.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-e742dc1f16ced2a7.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-22dabe81fd0f0ac6.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-b969f39ca1039ae5.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-edef09f2dee0c880.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-ba389b7e0beb52bb.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

5,請記住:每次SVN Commit 之前,一定要記得先 SVN Update

6,在 PyCharm 中配置 SVN

相關截圖詳細說明

![image](http://upload-images.jianshu.io/upload_images/10517060-30aebb168c0d1bff.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-688151d8d8cfc994.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-6cebd1bb683f19c7.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-9f2214e64b7c45c1.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-e8f3116c46b78193.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-9fe8c194329741f2.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-d65b583631c814c2.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

先Update,再Commit

![image](http://upload-images.jianshu.io/upload_images/10517060-46c62a77165a0f57.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-119c1b4366ae2cff.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-5c2aee3c47f20c8c.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-0c9520f0df0b51f8.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-424e690c4cf675fc.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-749abeb57130a47c.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-784bc14649167016.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

![image](http://upload-images.jianshu.io/upload_images/10517060-19df68450e038681.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

PyCharm中幾種顏色說明

![image](http://upload-images.jianshu.io/upload_images/10517060-eb081e7dd1e60088.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

Pycharm 能夠正常使用 SVN設定

![image](http://upload-images.jianshu.io/upload_images/10517060-40f7ed362f86c77f.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

PyCharm中右鍵,無法顯示Subversion

原因:沒有在PyCharm中配置該專案的SVN

![image](http://upload-images.jianshu.io/upload_images/10517060-32012a26689ea3f5.jpg?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)


相關文章