nae cli bug @fish
发布于 12 年前 作者 fengmk2 4415 次浏览 最后一次编辑是 8 年前

发现一个问题,我在 .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的原理,应该忽略此目录的操作啊。

2 回复

@fish 求解惑。

修复了

nae update
回到顶部