版本管理工具 AnkhSVN

AnkhSVN is a Subversion SourceControl Provider for Visual Studio. The software allows you to perform the most common version control operations directly from inside the Microsoft Visual Studio IDE. AnkhSVN is an active open source project with multiple committers from around the world (including CollabNet). Check the latest version.


Getting Started

Installation (2.0+)

  • Download AnkhSVN from one of the above download links.
  • Run the AnkhSVN installer package (It automatically updates any previous versions)

Start using AnkhSVN from Visual Studio

Using an existing solution with AnkhSVN 2.X

  • Open your solution
  • If you are the first AnkhSVN 2.X user of this solution
    • If glyphs do not appear automatically choose Tools -> Options -> Source Control and make sure AnkhSVN is the active source control provider.
  • Verify if the solution is connected to AnkhSVN
    • Right click the solution file. If you have an option that says 'Add to Subversion', your Solution is not connected yet
    • Click Add to Subversion and confirm adding the binding
    • If your project is not in an existing workingcopy you are now asked where to store your project
  • If some of the projects do not show glyphs
    • Check if the projects are connected in File -> Subversion -> Change Source Control
    • Make sure that at least the Solution and the projects missing glyphs are connected
      (Many project types do not require explicit binding)

Check out a Solution from Subversion

Using Open from Subversion

  • Select File -> Open -> Subversion Project
  • Choose a Url from the dropdown or click the globe icon to add a url
  • Browse to the solution of your choice
  • Click OK
  • In the next dialog select a local folder to store the project
  • Click OK and the solution will open automatically

Via the Repository Explorer 

  • Select View -> Repository Explorer.
  • When the tool window appears, choose the Plus-Folder icon to add your repository path and click OK.
  • Browse to the solution you would like to check out, right-click and choose Checkout Folder.
  • Browse to the location where you keep your working copy and press OK (you may need to create a directory first).
  • Open the solution inside Visual Studio. You will be asked whether to enable AnkhSVN for this solution, choose Yes.
Starting a new repository
  • Create a Subversion repository either by using the SVN command line tools or TortoiseSVN. The command line syntax is:
  • svnadmin create C:\myrepos
  • Open the solution you wish to check-in.
  • Choose View -> Solution Explorer from the Visual Studio menu.
  • From the right click menu select Ankh -> Add solution to Subversion repository.
  • Add the URL to your Subversion repository, in this example it is "file:///c:/myrepos." Note that you may want to check the box to create a new directory if you want to "import" something directly into an existing directory (specified by the URL) or a new subdirectory.
  • Once complete, you should now see green check-marks alongside items in the Solution Explorer window.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值