VisualStudio中AnkhSVN的使用.pptVIP

  • 64
  • 0
  • 约1.04万字
  • 约 37页
  • 2017-11-23 发布于江西
  • 举报
VisualStudio中AnkhSVN的使用 TSD Background Knowledge What is AnkSVN? What is the Repository Explorer? What is the Working Copy Explorer? What is the Pending Changes feature? What is AnkSVN? AnkSVN是集成在VisualStudio中的一个插件。提供直接在VisualStudio中直接操作SVN的功能。具体功能包括: 查看项目中的文件、文件夹的版本控制状态 在 Solution Explorer 中将你的 solution直接导入SVN版本库 使用 Working Copy Explorer: 使用 Repository Explorer: 实时在 Pending Changes 窗口中浏览文件的变更状态 基于SVN1.5提供的功能,合并并跟踪差异 集成合并和比较差异的工具 What is the Repository Explorer? Repository Explorer 是一个窗口,展示你存储在SVN版本库中的solution所包含的文件和文件夹。 当你在Repository Explorer 中添加了SVN版本库的URL之后: 浏览版本库内容 Check out 或 export 一个文件夹 在 Visual Studio中打开一个文件,在浏览器中浏览,或者拷贝这个文件 What is the Working Copy Explorer? Working Copy Explorer 使你能够在VisualStudio中操作版本库的本地工作拷贝。包括不在你的项目或solution中的部分 查看文件或文件夹的版本控制状态 在task pane中双击打开一个item 右键这个item可以像在Solution Explorer 中一样使用版本控制命令 What is the Pending Changes feature? Pending Changes window 实时 displays 所有源文件需要提交的状态 文件状态 New 还没有加入版本库的新文件爱你 Added 执行了添加操作,但是还没有提交的文件 Edited 文件被修改,但是还没有保存 Modified 文件被修改,且已经被保存 Conflicted 更新时出现的与他人修改相冲突的文件 Deleted, Copied 当你修改了一个文件的名字,会使用新的名字创建一份拷贝,就文件被移除。 与版本库中相同的文件或文件夹不会显示在Pending Changes窗口中。 What is the Pending Changes feature? 特性: 在Pending Changes 窗口中有四个视图: Local File Changes Issues Recent Changes Conflicts 右键Pending Changes窗口中的一个文件,可做的操作与在 Solution Explorer中相同。 使用commit选项,可以将单个文件或全部文件提交到版本库 将solution更新到任意一个版本 将当前版本与 HEAD, previous, 或其他版本进行比较。 The flat changes view lets you see the changed files in your working copy at various hierarchical levels. Working on field 展示当前工作到版本库的路径。 Switch 选项可以选择一个不同的路径 提纲 Getting started Basic version control operations in the Solution Explorer Configure AnkhSVN Other version control tasks Getting started Enable AnkhSVN for source control Connect a project to AnkhSVN Open a project from Subversion Enable AnkhSVN for source control 在VisualStudio中激活AnkhSVN后,可以直接在VisualStudio中进行SVN的大部分操作 In Visual Studio, select Tools Options . In the Options window, select Plug-in Sele

文档评论(0)

1亿VIP精品文档

相关文档