- svn安装: 需注意,需安装 command line功能。
- svn注意点:
3.1. 需要重启电脑,右键才会出现svn的各种菜单。
3.2. 若是直接打开TotoseSVN客户端,会出现以下提示:
tortoisesvn is a shell extension that means it is integrated into the windows explorer. to use tortoisesvn please open the explorer and right-click on any folder you like to bring up the context menu where you will find all tortoisesvn commands.
-
1
-
2
-
3
-
4
因此,svn不直接以客户端运行,需对文件进行操作。
1. AndroidStudio配置 svn:
步骤:打开Android Studio–>File–>Setting–>Version Control–>Subversion
配置svn路径:在上图中的Use Command Line Client中添加svn.exe, svn默认路径C:\Program Files\TortoiseSVN\bin\svn.exe
。
若是不存在svn.exe,则安装TotoseSVN未安装command line功能,需重新安装。
2. Android Studio添加忽略文件以及上传项目到svn:
- 上传项目到svn前需添加忽略文件
步骤:打开Android Studio–>File–>Setting–>Version Control–>Ignored Files –添加忽略的文件
androidStudio提供了三种选择忽略规则:
Ignore specified file:忽略