首页 > 代码库 > 警告: git command could not be found. Please create an alias or add it to yo
警告: git command could not be found. Please create an alias or add it to yo
5 Answers
active oldest votes
up vote 57 down voteaccepted | It sounds like you recently updated GitHub application and Git Shell is now broken. Short version To fix it
其实出现这个问题很可能是因为使用github for windows 的小伙伴更新了git shell所产生的。 上面的三点其实就是三个步骤: 1)关闭git shell 2)打开gitHub 3)重新打开Gitshell即可 其实照着上面的做就行了。如果不行的再照着下面的尝试一下哈~~~~(因为我照着上面的做就解决问题了) Long version This just happened to me and just to make sure I follow you, you just did this
Now it gives the error
If this is the case, do this
This will say something along the lines of (not sure of the exact version)
Let that go through the process and after it is complete, go open Git Shell and it is fixed. Just worked for me at least. |
警告: git command could not be found. Please create an alias or add it to yo
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。