ignoring any 'bin' directory on a git project

前端 未结 15 1848
暖寄归人
暖寄归人 2020-11-22 16:45

I have a directory structure like this:

.git/
.gitignore
main/
  ...
tools/
  ...
...

Inside main and tools, and any other directory, at an

15条回答
  •  借酒劲吻你
    2020-11-22 17:09

    [Bb]in will solve the problem, but... Here a more extensive list of things you should ignore (sample list by GitExtension):

    #ignore thumbnails created by windows
    Thumbs.db
    #Ignore files build by Visual Studio
    *.user
    *.aps
    *.pch
    *.vspscc
    *_i.c
    *_p.c
    *.ncb
    *.suo
    *.bak
    *.cache
    *.ilk
    *.log
    [Bb]in
    [Dd]ebug*/
    *.sbr
    obj/
    [Rr]elease*/
    _ReSharper*/
    

提交回复
热议问题