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 --version 命令查看git版本
②、输入 git update 更新git,会弹出一些提示,根据提示,选择输入命令 git update-git-for-windows 执行
执行完后会有显示git最新版本
③、执行完上面的命令再次去输入命令 git config --global user.name就不会有上面的提示了。

在这里插入图片描述
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/qingbo_2920249511/article/details/121465901
Git
今日推荐