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

前端 未结 3 1852
再見小時候
再見小時候 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 01:12

    you can add to your global ignore pattern.

    In Tortoise settings, on the General pane, there's a edit field to add global ignore patterns. These are wildcard-enabled so you can add all the temporary files, eg *.ncb etc, but also directories.

    eg. here's my global ignore pattern, you can see it's set to ignore many file types but also a couple of directories.

    *.dep *.aps *.vbw *.suo *.obj *.ncb *.plg *.bsc *.ilk *.exp *.sbr *.opt *.pdb *.idb *.pch *.res *.scc *.vspscc *\bin\Release *\Debug *\obj *.user BuildLog.htm *.cache *.log *.dep *.intermediate.manifest *ReSharper*
    

提交回复
热议问题