As you know if you create a .gitignore file using windows explorer (or .htaccess or any other .something file) it will complain loudly.
The trick is to create a new file and call it :
.gitignore.
Notice the "." at the end. It is significant. Once you do that windows explorer will silently remove the trailing "." and you get exactly what you wanted ".gitignore"
The trick is to create a new file and call it :
.gitignore.
Notice the "." at the end. It is significant. Once you do that windows explorer will silently remove the trailing "." and you get exactly what you wanted ".gitignore"
No comments:
Post a Comment