Thursday, November 12, 2009

Making git ignore certain files and folder

Create .gitignore file in project folder

> touch .gitignore

List the files and folder name in .gitignore file, example

tmp/*
sites/default/settings.php
*~
\#*
.#*

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home