gitignore 文件中“.gitignore~”的可能用法是什么?
What's the possible usage of ".gitignore~" in a gitignore file?
我无法理解它的用法,因为波浪号不是正则表达式中的元字符。
我在这里看到了:
https://github.com/spring-guides/tut-rest/blob/master/.gitignore
像 emacs 这样的一些编辑器使 backup files 以波浪号结尾,所以这条规则将忽略在编辑 .gitignore 本身时所做的任何备份
我无法理解它的用法,因为波浪号不是正则表达式中的元字符。
我在这里看到了:
https://github.com/spring-guides/tut-rest/blob/master/.gitignore
像 emacs 这样的一些编辑器使 backup files 以波浪号结尾,所以这条规则将忽略在编辑 .gitignore 本身时所做的任何备份