use*_*629 8 windows git git-bash
我正在尝试使用win7和git-bash删除.git目录.这是我的尝试:
$ rm -rf .git
rm: cannot remove directory `.git/objects/5e': Permission denied
rm: cannot remove directory `.git/objects': Directory not empty
rm: cannot remove directory `.git': Directory not empty
$ rmdir .git
rmdir: `.git': Directory not empty
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?
Windows 7 - Git-bash
$ sudo
sh.exe": sudo: command not found
Run Code Online (Sandbox Code Playgroud)
Windows中的git-bash没有sudo命令.
最有可能的是,您在命令shell中使用了一些具有提升权限的git命令.在Windows 7中,普通用户和具有提升权限的用户具有不同的权限.尝试执行以下操作之一
归档时间: |
|
查看次数: |
10957 次 |
最近记录: |