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

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -