How do I ignore a directory with SVN?

前端 未结 23 2531
无人共我
无人共我 2020-11-22 16:42

I just started using SVN, and I have a cache directory that I don\'t need under source control. How can I ignore the whole directory/folder with SVN?

I am using Vers

23条回答
  •  不要未来只要你来
    2020-11-22 17:30

    Solved with Eclipse in the next way:

    First of all, do a synchronisation of your folder to the project:

    team -> synchronise

    In the next view, team view, you can see all resources that you can commit to the SVN server.

    So, select the resource folder of the resource that you want to ignore, and then you can ignore it using

    team -> add to svn:ignore.

    After that, in the confirmation window, do select the first option: "ignore by name".

    For instance, If I want to ignore the target folder and their .class resources, I'll do synchronise, and in the synchronise view, I'll select the target folder. After that, I'll select

    team->add

    to svn:ignore and then I'll confirm the first option in the confirm window.

提交回复
热议问题