git - How to setup .gitignore for Windows? -


i setting first project in git. how setup git-ignore file in windows?

i creating first rails project using vagrant , trying configure .gitignore in windows

easy.

  1. make file .gitignore using text editor
  2. in there, write file name you'd want ignore
  3. you can use wildcard like: *.pyc ignoring file extension .pyc

if use tortoisegit or other git software, easier. there add ignore list menu when right click file.


Comments