'what is the difference between *.extension and .extension?
. I am using git and in the .gitignore I found *.local and .DS_Store(mac). what are the differences and (if you know) what are all the possible format for .gitignore?
Solution 1:[1]
.name is not a pattern, not an extension, it's a filename. It just happens that the filename starts with a dot.
There is a tradition in Unix to name hidden files with the leading dot. It's only a tradition, it isn't built into OS kernels, but most file managers follow it and hide files with the leading dot from lists by default.
Because of this hidden configuration files are called "dot files".
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | phd |
