小白妹妹写代码
HiiTea
🍓 I may be slow to respond
JavaScript是世界上第二好的语言😏
2 posts in tag gitignore
  • global .gitignore

    为什么需要全局 .gitignore 通常来说,在 repo 中提交跟 IDE 相关的文件并非最佳实践,所以大多数时候会在 .gitignore 中加入 IDE 相关的文件 pattern,然而市面上的 IDE 很多,不同程序员对 IDE 也有着自己的偏好,似乎不太可能把市面上所有的 IDE 都列出来。 除此之外,可能还有一些其他情况下,希望在本地 ignore…

    Posted on
    star
  • git如何ignore已经track的文件

    我也不想中英文混杂的取标题……但我实在翻译无能… _ (:з」∠) _ 基本知识 在 git 中文件有两类,共三种状态: untracked tracked changes not staged for commit changes to be committed 我们都知道,在 .gitignore 文件里添加相应的文件夹或文件就能忽略掉不想被 track 的文件。 但是, .gitignore…

    Posted on
    star