没有这样的文件或目录 - git ls-files - WINDOWS [英] No such file or directory - git ls-files -- WINDOWS
问题描述
我试图找到一种将Git添加到Windows路径的方法。每当我尝试从JetBrains的整洁IDE,RubyMine或GitBash本身运行RakeFiles时,我都会得到这个标题发布的错误: c $ c>没有这样的文件或目录 - git ls-files
据一位开发人员介绍,需要将Git添加到我的Windows路径。我一直无法找到如何解决这个错误的任何东西,但苹果机。有没有人可以帮助我找出如何解决这个问题?
- 点击我的电脑并选择属性
- 单击高级系统设置
- 单击环境变量,在系统变量下找到
PATH
,并添加git.exe
所在的目录。目录以分号隔开。
有趣的是,这个简单的操作非常不舒服,尤其是当您的 PATH
很长,并且人们创建了工具,只能编辑系统路径。
I am trying to find a way to add Git to the Windows path. Whenever I try to run RakeFiles from either JetBrains' neat IDE, RubyMine or from GitBash itself, I get the error that this title is posted under:
No such file or directory - git ls-files
According to a fellow developer, I need to add Git to my windows path. I haven't been able to find how to remedy this error for anything BUT Macs. Is there anyone who can help me figure out how to fix this with Windows?
- Right-click "My computer" and choose Properties
- Click Advanced system settings
- Click on Environment Variables, under System Variables, find
PATH
, and add the directory wheregit.exe
is located. Directories are separated with semicolons.
The funny thing is, that this simple operation is very uncomfortable, especially when your PATH
is long and people created tools, only to edit system path.
这篇关于没有这样的文件或目录 - git ls-files - WINDOWS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!