動作確認
C++ Builder XE4
https://github.com/github/gitignore/blob/master/Delphi.gitignore
を見ると
# Delphi local files (user-specific info)
*.local
とあるので .localはgitignoreしてもよさそう。
一方で、.resファイルは
# Resource files are binaries containing manifest, project icon and version info.
# They can not be viewed as text or compared by diff-tools. Consider replacing them with .rc files.
#*.res
とあり、# It can make harm to an existing project source. Read explanations below.
とあるので、gitignoreしてはダメそう。