nae cli bug @fish
发现一个问题,我在 .naeignore
设置了 public/user_data/*
,然后
$ nae sup club .
[INFO] * connection established !
================================
-remote- [Delete] public/user_data/
-remote- [Modify] views/topic/index.html
-remote- [Modify] views/layout.html
-remote- [Modify] controllers/topic.js
-remote- [Modify] config.js
-remote- [Modify] app.js
================================
- total - 6
================================
[INFO] * using ".naeignore" to control transfer files
[WARNING] * apply these actions? [yes|no]
yes
* RemoteJob[6 : 1] = club:rmdir > public/user_data/
* RemoteJob[6 : 2] = club:fileedit > views/topic/index.html
* RemoteJob[6 : 3] = club:fileedit > views/layout.html
* RemoteJob[6 : 4] = club:fileedit > controllers/topic.js
* RemoteJob[6 : 5] = club:fileedit > config.js
* RemoteJob[6 : 6] = club:fileedit > app.js
* Total [6] . Done [6]!
为什么每次都将我的 public/user_data
目录删除了?.gitignore的原理,应该忽略此目录的操作啊。