Github错误消息:git-it:无法识别命令 [英] Github error message: git-it: command not recognized

查看:90
本文介绍了Github错误消息:git-it:无法识别命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

仅安装了适用于Windows的GitHub,并通过输入完成了配置部分

Just installed GitHub for Windows and have done the configuration part by typing in

$ git config --global user.name "<Your Name>"
$ git config --global user.email "<youremail@example.com>"

在正确的位置输入我的姓名和电子邮件地址.

with my name and email entered in the proper place.

问题是当我尝试使用命令验证它时 git-it verify 我收到一个错误消息,说git-it: command not recognized.

The problem is when I try to verify it using the command git-it verify I am getting an error saying git-it: command not recognized.

任何人都可以告诉我如何解决此问题吗?

Could any of you tell me how to fix this??

我认为我在给出命令时也应该添加它 git --version 它显示版本为git version 2.7.1.windows.1 这不是说已经安装了git吗?

I think I should also add that when I give the command git --version it shows the version as git version 2.7.1.windows.1 Doesnt this mean that git is already installed??

推荐答案

您必须先安装git-it,然后才能将其用作命令.当您为Windows安装Github时,不会安装git-it.使用它来安装git-it

You have to install git-it before you can use it as a command . git-it does not get installed when you install Github for windows . Use this to install git-it

npm install -g git-it

然后尝试.

这篇关于Github错误消息:git-it:无法识别命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆