This is from Tower’s Learn Verson Control with Git.
I am in my some-sample-project folder. It says to create an empty file and save it as .gitignore in the project’s root folder, and then make sure it contains at least .DS_Store.
So while in some-sample-project, I typed ‘touch .gitignore’, and it was created. But how do I put .DS_Store inside .gitignore? .gitignore is not a folder, it’s a file.
This isn’t explained well for beginners at all. Please help.