我正在学习 Git 内部知识 https://git-scm.com/book/en/v1/Git-Internals-Git-Objects
当我尝试在 Windows 上执行此命令时(使用 cmder 更好的控制台 http://cmder.net/)
find .git/objects
我得到一个错误
我应该怎么做?
最佳答案
find.exe
在 Windows 中不等同于 linux 中的 find
。
PowerShell 中 find [startpath]
的等价物是:
Get-ChildItem [startpath] -Name
在 cmd.exe
中,它将是:
dir /B [startpath]
关于windows - 如何使用 Powershell 执行查找命令,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37639919/