【发布时间】:2015-11-10 04:50:26
【问题描述】:
我开始在我的 Windows 7 计算机上使用 GitShell,以尝试让脚本正常工作。当我在 shell 中输入 ls 时,它工作正常并显示文件。当我输入 ls -a 或 ls -la 时,它给了我这个错误 -
Get-ChildItem : A parameter cannot be found that matches parameter name 'a'.
At line:1 char:6
+ ls -a <<<<
+ CategoryInfo : InvalidArgument: (:) [Get-ChildItem], ParameterB
indingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Comm
ands.GetChildItemCommand
我的同事在她的同一台计算机上使用这些命令很好。可能是什么问题?
【问题讨论】:
标签: git powershell github git-shell