git ignore 無效

眼睜睜看著gitignore 裡有*.tar  
但那個admin.tar就一直鬼打牆的出現在 not staged

發現是暫存的問題
如下清一清就順暢起來 bye bye 老廢tar

git rm -rf --cached .

git add -A

git status

git ignore暫存的問題

arrow
arrow
    文章標籤
    git ignore cache
    全站熱搜
    創作者介紹
    創作者 MonkeyJ 的頭像
    MonkeyJ

    程式猴

    MonkeyJ 發表在 痞客邦 留言(0) 人氣()