如何在Windows中使用Linux、Mac的“触摸”命令?

问题描述 投票:0回答:1

如何在 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”命令才能正常操作?

next.js github-pages
1个回答
0
投票

我相信您正在寻找的命令如下:

新项目 -Name out/.nojekyll -ItemType 文件

© www.soinside.com 2019 - 2024. All rights reserved.