Tortoise - is it possible to ignore new folder before committing it?

前端 未结 3 1896
再見小時候
再見小時候 2021-02-07 00:25

I just added a class library project to my .NET solution. When I built it, it created the bin and obj folders, which I want to exclude from version con

3条回答
  •  温柔的废话
    2021-02-07 00:53

    Set the svn:ignore property to "bin" and "obj" for the parent folder, provided the parent folder is under version control.

    • Right-click the parent folder in Explorer
    • Choose TortoiseSVN -> Properties
    • Choose the svn:ignore property from the "Property name" drop-down
    • Add "bin" and "obj" to the "Property value" field, separating them by line breaks.
    • Commit the parent folder only
    • The child folders should show up with a grey "ignored" icon from then on.

提交回复
热议问题