如何忽略不需要版本控制的文件? #2

Closed
opened 2023-12-12 14:07:45 +08:00 by suneshone · 0 comments
Owner

GitHub 有一个十分详细的针对数十种项目及语言的 .gitignore 文件列表, 你可以在https://github.com/github/gitignore 找到它。

在最简单的情况下,一个仓库可能只根目录下有一个 .gitignore 文件,它递归地应用到整个仓库中。 然而,子目录下也可以有额外的 .gitignore 文件。子目录中的 .gitignore文件中的规则只作用于它所在的目录中。

GitHub 有一个十分详细的针对数十种项目及语言的 .gitignore 文件列表, 你可以在[https://github.com/github/gitignore](https://github.com/github/gitignore) 找到它。 在最简单的情况下,一个仓库可能只根目录下有一个 .gitignore 文件,它递归地应用到整个仓库中。 然而,子目录下也可以有额外的 .gitignore 文件。子目录中的 .gitignore文件中的规则只作用于它所在的目录中。
suneshone self-assigned this 2023-12-12 14:07:45 +08:00
suneshone added this to the 学习git的使用 project 2023-12-12 14:07:45 +08:00
suneshone added the due date 2023-12-12 2023-12-12 14:08:54 +08:00
suneshone added the
question
label 2023-12-12 15:18:43 +08:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

2023-12-12

Dependencies

No dependencies set.

Reference: suneshone/obscuredSubtitles#2
No description provided.