开发者

Versions - how to add all new files

I am using Versions application for Mac Os.

I am new to Versions. I have got a project that I modified recently - added a bunch of new files. Currently I manually add all new files into the repository (I have to expand all 开发者_JAVA百科those folders with a yellow bead sign and select new files while holding APPLE key).

Is there a way to automatically add all new files from a certain folder into repository(if the folder itself is already under version control)?

Thanks.


You should just skip using Versions for this task. Simply open your terminal and cd into that directory and issue:

svn add *
svn commit -m 'Adding a file'

then you are done.


Select the topmost folder with the blue ? next to it, and choose Action > Add Item (command-option-A). That will recursively add everything in that folder.


  1. Click "Changed" (under the Revert/Add/Delete buttons)

  2. In the "Browse" tab/view, use command + A (to select all)

  3. Click the "Add" button

  4. Click the "Commit" button


If you are using Tortoise - you can simply go to the top folder and select "Commit" command - it should automatically detect new files and ask you if you want to add/commit

Eclipse plugin will do the same

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜