如何在windows中创建.gitignore文件

版权声明:转载请注明出处和署名,谢谢! https://blog.csdn.net/MobiusStrip/article/details/82984709

如何在windows中创建.gitignore文件

  • 1、先任意创建一个文件,例如:1.txt
  • 2、打开cmd命令行窗口,到1.txt目录下
    windows7/8输入:
    ren 1.txt .gitignore
    修改成功 
    
    windows10输入:
    mv 1.txt .gitignore
    修改成功
    

演示如下:
在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/MobiusStrip/article/details/82984709