差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 | |||
public:it:git [2025/07/18 14:00] – [Git 原理] oakfire | public:it:git [2025/08/11 11:18] (当前版本) – [Ignore] oakfire | ||
---|---|---|---|
行 39: | 行 39: | ||
==== Ignore ==== | ==== Ignore ==== | ||
* [[http:// | * [[http:// | ||
+ | * 白名单的写法为:< | ||
+ | * | ||
+ | |||
+ | !.gitignore | ||
+ | |||
+ | # whitelist `src` directories and their children, regardless of place | ||
+ | !src/ | ||
+ | !src/**/ | ||
+ | !src/**/*.h | ||
+ | !src/ | ||
+ | |||
+ | !/docs/ | ||
+ | !/docs/*.md | ||
+ | </ | ||
==== Submodule ==== | ==== Submodule ==== | ||
* 参考[[http:// | * 参考[[http:// |