• windows 如何创建.gitignore 文件 / .ssh 文件夹?解决windows必须键入文件名提示


    windows不允许.gitignore之类的文件,也不允许.ssh命名的文件夹名。会提示必须输入文件名。

    要解决这个问题我以前一直是通过bash使用linux命令创建的。最近发现了一个更简便的方法与大家分享:

    创建.gitignore文件输入.gitignore.即可越过此限制,回车后文件名会修改为.gitignore。

    参考:

    https://winscp.net/eng/docs/guide_windows_openssh_server

    1. Windows Explorer does not allow you to create a folder starting with a dot directly. As a workaround, use .ssh., the trailing dot will allow you to bypass the restriction, but will not be included in the name.Back
  • 相关阅读:
    2020/5/8
    2020/5/8
    2020/5/6
    2020/4/30
    2020/4/29
    2020/4/28
    2020/4/27
    KMP算法详解
    博客搬家声明
    洛谷P2831 NOIP2016 愤怒的小鸟
  • 原文地址:https://www.cnblogs.com/wswind/p/10437861.html
Copyright © 2020-2023  润新知