Here is how:
- -Create the text file gitignore.txt
- -Open it in a text editor and add your rules, then save and close
- -Then rename the file in the command line, with
ren gitignore.txt .gitignore
Here is the source of this little piece of wisdom:
http://stackoverflow.com/questions/10744305/how-to-create-gitignore-file