Categories
木有技术

Windows下创建.gitignore文件

众所周知,如果直接把文件名重命名为`.gitignore`的话,会受到错误提示

必须键入文件名

所以需要想个别的办法~
使用cmd命令行来解决吧,可以按住Shift+鼠标右击,点“在此处打开命令窗口”
然后
<code>
ren OldFileName NewFileName
</code>
这边NewFileName就可以是.gitignore啦~!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.