url 路径致命,尽管 shell 沿目录列出文件?
'
(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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论