zoukankan      html  css  js  c++  java
  • 创建.htaccess 和.gitignore文件

    需求:创建一个 .gitignore 文件。

    1. 首先准备一个 test.gitignore 文件 , 用文本编辑器进行编辑即可。
    2. 创建一个 demo.txt 里面写入:

     代码如下 复制代码

    ren test.gitignore .gitignore

    3. 把 demo.txt 重命名为 demo.bat。

    双击 demo.bat 见证奇迹的时候就要到了,你会看到一个 .gitignore 文件。

    需求,创建一个.htaccess文件

    打开一个Windows Notepad(记事本工具),在记事本中输入好你打算放到.htaccess文件中的内容。然后点击“文件”->“另存为...”,这时会弹出的“另存为”对话框,在其“文件名”一栏中输入".htaccess"。注意,这里必须用一对英文模式下的双引号把.htaccess引起来。然后点击“确定”即可将记事本中的内容保存到一个名为.htaccess的文件中。

  • 相关阅读:
    学习Easyui
    JS链表
    Javascript数组
    布局管理器(转)
    JCombobox组合框效果实现(转)
    JComboBox
    java.lang.ClassFormatError
    JSplitPane demo
    USB OTG简单介绍
    Cookie/Session机制具体解释
  • 原文地址:https://www.cnblogs.com/nearor/p/4523527.html
Copyright © 2011-2022 走看看