gitignore

I have just started using rad rails again after a long stint on
netbeans.

It seems to generate loads of files like:
app/views/group/.tmp_group_summary.rhtml.99932

I want to make git ignore all these .tmp files but my entries in
gitignore have so far been of no avail.

Anybody give me a suggestion?

Cheers
George

giorgio wrote:

I have just started using rad rails again after a long stint on
netbeans.

Why? That's going from bad to worse.

NetBeans: excellent IDE, too heavy for Rails
Aptana: less good IDE, *still* too heavy for Rails

Just forget about IDEs and use a good editor such as KomodoEdit. Rails
doesn't benefit from the use of an IDE.

It seems to generate loads of files like:
app/views/group/.tmp_group_summary.rhtml.99932

I want to make git ignore all these .tmp files but my entries in
gitignore have so far been of no avail.

Anybody give me a suggestion?

You'll probably get better answers in a Git forum. This is not a Rails
question.

Cheers
George

Best,

I like the IDE approach overall. Netbeans has some nice autocomplete
features that really help in writing the code, but then again a simple
editor can work well too.

For the gitignore, just add a pattern of which files you don't want
included either in the root directory or in the specific directory.
Something along the lines of tmp_*

Should be a setting in rad rails for the backups as well.

Hope this helps.

p.s. http://help.github.com/git-ignore/

<snip>

.tmp_* will ignore the file given as an example above - you would just need to ensure that it doesn't ignore anything you would want to keep as it is a fairly large net :slight_smile:

Rory

I have **/*/.tmp* as one line in my gitignore but I still get the
files appearing when I do a "git status" so I obviously have got it
wrong.
Maybe I should just put .tmp*

Cheers
George

PS
Thanks for all the advice on ides .... but that wasn't really the
question!