Independent Development
Rules of .gitignore
There can be multiple .gitignore in a git repository.
Root directory, sub directories, they all can hold its own file.
When used by git, the detail .gitignore, which means the files in sub directories, will take effect first.
And all the rules will be combined.
This gives a lot of convenience to management, especially when different directories are holding different projects or modules.
Main Site(Under building)
Related Platforms
(Github Issues) / (Notion) / (Blog)
Advertisement
(A website to optimize your resume and to boost your career: Nonpareil.me)
独立开发
.gitignore规则
一个Git的Repo中,可以有多个.gitignore文件。
根目录,各级子目录,都可以包含这样一个文件。
Git解析时,会以详细的.gitignore为优先,也就是会优先子文件夹中的.gitignore规则。
所有的规则会被合并生效。
这让项目管理变得方便很多,尤其是每个子文件夹包含了不同的项目或者模块的时候。
主站(建设中)
[Nonpareil Me]{https://nonpareil.me}
相关平台
(Github Issues) / (Notion) / (Blog)