I\'ve a directory structure like this:
root/
.git
deploy/
Site/
blah/
more_blah/
something.local
else.development
Rakefile
If you want git to ignore a file put it in the .gitignore file not the .attributes file.
If you want to ignore your Rakefile put the following in the .gitignore file at the root of your project.
/**/Rakefile
Specify the full path if you have more than one and you only want to ignore one of them.
/**/*.ext
For A File in All Folders
/**/some_file.ext
File in Root Folder
/some_file.ext
File in A Folder
/some_folder/some_file.ext
All Files in A Folder
/some_folder/*