git官网上关于.gitignore的部分的简要翻译
简略的翻译了git官网上关于 .gitignore 的部分, 点击查看原文 § NAME gitignore - Specifies intentionally untracked files to ignore § SYNOPSIS $HOME/.config/git/ignore, $GIT_DIR/info/exclude, .gitignore § DESCRIPTION 略, 点击查看原文 § PATTERN FORMAT .gitignore文件里表达式的一些用法: A blank line matches no files, so it can serve as a separator for readability. 一个空行不匹配任何文件,只当做是分隔的作用 A line starting with # serves as a comment. Put a backslash (" \ ") in front of the first hash for patterns that begin with a hash. 以“#”开头的是注释行。“\”放在表达式前面用来转义 Trailing spaces are ignored unless they are quoted with backslash (" \ ”). 行尾的空格会被忽略,除非在空格前加“\