解决使用Git时报错"bash: $'302226git': command not found" 执行Git命令时报错 bash: $'302226git': command not found 解决方式 此种情况常出现在复制、粘贴命令时,命令开头往往会有多余的空格。 检查命令中是否有多余的空格,去除多余的空格即可。