svn ignore without deleting files?

后端 未结 6 2055
暗喜
暗喜 2020-12-14 18:07

how can I ignore files from my svn repo without deleting them as well?

When I work on existing projects I often have to setup a local version of the project and usin

6条回答
  •  北海茫月
    2020-12-14 19:12

    A possible solution would be to use changelists. You can group the files that you are changing into changelists, and then when you svn commit, you specify the changelist -- files not in the changelist are not affected.

    create changelist
    svn changelist math-fixes integer.c mathops.c

    commit only files in changelist
    svn ci -m "Fix a bug." --changelist math-fixes

提交回复
热议问题