2

I have created a repository online and I want to add an existing folder to it and make it version controlled. I am using TortoiseSVN.

When using Visual Studio I can just click "Add to Subversion" and it automatically adds the versioning to my project. When I click into the physical folder everything has icons next to it implying it's now versioned. I can then just commit it all either in or out of visual studio.

My problem is, I now have a folder that isn't part of a Visual Studio project that I want versioned. But I can't work out how to do it. If I click import I can import all the files but it doesn't add the versioning to the folder. I can then export it else where, but still I don't have the versioning.

What do I have to do to make my existing folder versioned without Visual Studio doing it?

4

3 に答える 3

2

SVNBookTortoiseSVNのマニュアルを読む必要があります。少なくとも、Subversion の背後にある概念と一般的なバージョン管理を理解するのに役立ちます。

フォルダーをSubversion に移動すると、TortoiseSVN またはコマンドライン クライアントで操作をsvn import行うことにより、後でこのフォルダーの作業コピーを取得できます。svn checkout

于 2012-08-03T11:18:04.367 に答える
1

Visual Studio で使用しているツールは、内部で Subversion クライアントを使用しています。必要に応じて、通常、このツールをコマンド ラインから直接呼び出すことができます。

これに慣れていない場合は、Windows シェルに統合された無料のTortoiseSVNツールをダウンロードしてインストールできます。インストールしたら、ファイル/フォルダーを右クリックして、Visual Studio 外のリポジトリに追加できます。

于 2012-08-03T11:10:01.427 に答える
0

私はこれを行う方法を考え出したばかりなので、他の誰かがこれを行おうとしている場合に備えて、私自身の質問に答えています。

  1. サーバー上にリポジトリを作成し、

  2. svn importそれにすべて、

  3. svn checkout既存のフォルダの上にインポートしたもの。

これで、すべてがコミットできるようになります。

于 2012-08-03T11:16:55.357 に答える