Git - Ignore certain files contained in specific folders

前端 未结 6 608
面向向阳花
面向向阳花 2020-12-09 04:07

I\'m using msysgit and have a project tree that contains many bin/ folders in the tree. Using the .gitignore file in the root of the project I need to ignore all .dll files

6条回答
  •  南方客
    南方客 (楼主)
    2020-12-09 05:03

    I just have /bin in my file and it seems to work. It ignore the whole folder (as opposed to specific files in it)

    Here are the complete contents as of now (still evolving).

    .svn*
    obj/
    bin/
    *.suo
    *.user
    Log/
    log/
    *.db
    

提交回复
热议问题