I ran git add . and found a folder inside that I didn't want to commit. How do I remove the add directory?
迷茫
迷茫 2017-05-02 09:46:33
0
3
1184

I used git add in the development directory. I found another node_modules directory inside. How to remove this directory add index library

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(3)
PHPzhong
git reset node_modules
刘奇

git reset

世界只因有你

Use the following command

git reset HEAD node_modules

For more tips, please refer to this: Common tips for Git learning notes

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template