How to tell git to ignore files

/*--- holy mAcar00ns!! --- */

You can put shell-style globs (e.g. *.o) in either .git/info/exclude or .gitignore.

.git/info/exclude is local to your repository only, and not shared by others who might fetch from your repository.

.gitignore is more commonly used, as it can be checked into the repository and thereby automatically shared with all users of the project.

From the gitfaq.

What is this about?

$ git ls-files -o --exclude-standard >> .gitignore
$ $EDITOR .gitignore

By the way here here's a screencast for how to set up Git for use on Ruby on Rails projects.

Labels: ,

all your bases ar--

ping moi pleeez

About this entry

pacman is coming

nuck nuck

e belong to us!