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

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

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