Git - Ignore certain files contained in specific folders

前端 未结 6 607
面向向阳花
面向向阳花 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:12

    .gitignore on windows, just does not seem to work. I am using msysgit v 1.7.6 beta, and it just does not work the way it should per the .gitignor man page. Now, if I copy the contents of my .gitignore file to the $GIT_DIR/info/exclude file, inside the repo, things do work.

    So, the bummer is that this does not get replicated, but it is better than nothing.

提交回复
热议问题