Git ignoring all minified suffixed files

前端 未结 3 1642
逝去的感伤
逝去的感伤 2021-01-17 09:53

I currently have something like:

javascripts/
    plugin.js
    plugin.min.js

stylesheets/
    style.css
    style.min.css

How would I get

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-17 10:34

    I believe you have to git rm filename --cached to remove the files from your git repo if you added it to .gitignore afterwards. (note: this will remove it from the repo, not from directory)

提交回复
热议问题