TortoiseSVN,排除不想提交文件的方法(转)

时间:2021-05-21 22:02:33

下面是英文帮助:

利用TortoiseSVN的修改列表 功能可以实现,在新版本中TortoiseSVN特地预置了一个【提交时忽略】的修改列表。只需要选中相应文件->右键->移动到->提交时忽略列表即可。

 

4.4.2. Change Lists
    The commit dialog supports Subversion's changelist feature to help with grouping related files together. Find out about this feature in Section 4.8, “Change Lists”.

4.4.3. Excluding Items from the Commit List
    Sometimes you have versioned files that change frequently but that you really don't want to commit. Sometimes this indicates a flaw in your build process - why are those files versioned? should you be using template files? But occasionally it is inevitable. A classic reason is that your IDE changes a timestamp in the project file every time you build. The project file has to be versioned as it includes all the build settings, but it doesn't need to be committed just because the timestamp changed.

To help out in awkward cases like this, we have reserved a changelist called ignore-on-commit. Any file added to this changelist will automatically be unchecked in the commit dialog. You can still commit changes, but you have to select it manually in the commit dialog.