Git command to show which specific files are ignored by .gitignore

后端 未结 9 1391
我在风中等你
我在风中等你 2020-11-22 05:07

I am getting my feet wet with Git and have the following issue:

My project source tree:

/
|
+--src/
+----refs/
+----...
|
+--vendor/
+----...
         


        
9条回答
  •  说谎
    说谎 (楼主)
    2020-11-22 05:56

    Git now has this functionality built in

    git check-ignore *
    

    Of course you can change the glob to something like **/*.dll in your case

    Git Reference

提交回复
热议问题