小编Ibn*_*shd的帖子

删除以双&符号和感叹号开头的文件

我有一个名为的文件 && !!

如何删除此文件.

On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
  (use "git add <file>..." to include in what will be committed)

    && !!
Run Code Online (Sandbox Code Playgroud)

rm -- "&& !!" 结果: rm: cannot remove '&& git st': No such file or directory

你可能已经猜到了git st是我的方式 git status

我怎么去?

打开vim

:e && !!

:wq

unix vim bash windows-subsystem-for-linux

0
推荐指数
2
解决办法
63
查看次数

标签 统计

bash ×1

unix ×1

vim ×1

windows-subsystem-for-linux ×1