“您必须输入文件名”在Windows上创建.gitignore文件时抛出错误 [英] "You must type a file name" error thrown, when I create a .gitignore file on Windows
本文介绍了“您必须输入文件名”在Windows上创建.gitignore文件时抛出错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试这样做时,出现以下错误:
显然,Windows资源管理器不允许我创建这种类型的文件模式。我怎样才能克服这个问题?
解决方案
我到达有点晚,但会给你一招! ; - )
在文件浏览器中,调用你的文件 .gitignore。
,它会删除结尾'。 '
或者使用文本编辑器...
When I try to do this, I get the following error:
Obviously, Windows Explorer doesn't allow me to create this type of file patterns. How can I overcome this problem?
解决方案
I arrive a little late but will give you the trick!! ;-)
In the File Explorer, call your file .gitignore.
and it will remove the ending '.'
Or use a text editor...
这篇关于“您必须输入文件名”在Windows上创建.gitignore文件时抛出错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文