如何在 Windows 中使用 Linux、Mac 的“touch”命令?
我的代码:
"deploy": "next build && next export && touch out/.nojekyll && git add -f out/ && git commit -m 'deploy to gh-pages' && git subtree push --prefix out origin gh-pages"
我想要触摸窗口命令。
我试图防止未复制到最终站点的后果,因为它被认为是特殊资源(“_next”)。在 gh 页中。
在这种情况下,我该如何更改“touch”命令才能正常操作?
在这种情况下,我该如何更改“touch”命令才能正常操作?
我相信您正在寻找的命令如下:
新项目 -Name out/.nojekyll -ItemType 文件