url 路径致命,尽管 shell 沿目录列出文件?

发布于 2025-01-11 17:03:40 字数 769 浏览 0 评论 0原文

'
(base) $@ooooo overseries % git rm convergepi.c 
fatal: pathspec 'convergepi.c' did not match any files
(base) $@ooooo overseries % rm convergepi.c 
rm: convergepi.c: No such file or directory
(base) $@ooooo overseries % git status 
On branch master
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
    modified:   convergepi.c 
    modified:   piprox.c

Untracked files:
  (use "git add <file>..." to include in what will be committed)
    a.out

no changes added to commit (use "git add" and/or "git commit -a")
(base) $@ooooo overseries %     
' 

在尝试删除旧程序时,shell 返回一个错误,即每个文件的 url 不是沿着目录?我还能怎样删除旧文件?

'
(base) $@ooooo overseries % git rm convergepi.c 
fatal: pathspec 'convergepi.c' did not match any files
(base) $@ooooo overseries % rm convergepi.c 
rm: convergepi.c: No such file or directory
(base) $@ooooo overseries % git status 
On branch master
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
    modified:   convergepi.c 
    modified:   piprox.c

Untracked files:
  (use "git add <file>..." to include in what will be committed)
    a.out

no changes added to commit (use "git add" and/or "git commit -a")
(base) $@ooooo overseries %     
' 

While trying to remove the old program the shell returns a fallacy that of each file url is not along dir? how else may I delete the old file?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文