Git提示 git: ‘config‘ is not a git command. See ‘git --help‘解决办法

输入命令 git config --global user.name 会提示 git: ‘config’ is not a git command. See 'git --help’
Git提示 git: ‘config‘ is not a git command. See ‘git --help‘解决办法_第1张图片
其解决办法是:
①、输入 git --version 命令查看git版本
②、输入 git update 更新git,会弹出一些提示,根据提示,选择输入命令 git update-git-for-windows 执行
执行完后会有显示git最新版本
③、执行完上面的命令再次去输入命令 git config --global user.name就不会有上面的提示了。

Git提示 git: ‘config‘ is not a git command. See ‘git --help‘解决办法_第2张图片
Git提示 git: ‘config‘ is not a git command. See ‘git --help‘解决办法_第3张图片

你可能感兴趣的:(Git,android,html5,微信,git,github)