.sbr files in Source Control

I just started working on my first Visual Studio project, and I imported all the existing code for the project into the SVN repository without checking which files were binary and which were not. So now I'm trying to clear the repo, and I came across some .sbr, .pch, and .res files.

I believe the .pch file should not be in the source control, because it is binary. But the sbr and res files are currently empty, so I can't tell if they should be in the repo. So should they be in or out?

+3
source share
4 answers

.resfiles are compiled versions of files .rc, so they also should not be in the repository.

After deleting all the files that you do not consider necessary (most non-text files, except for the images, are probably not necessary), you should check your project in a clean directory and try to complete the assembly. If this fails, you have gone too far. (If it succeeds, then you can remove more things!)

+4
source

They should not be in the repo. These are all intermediate files created at compile time.

+3
source

Res , . SBR , /Fr ( ).

: , , . , .rc/rc2.

0

.pch are predefined headers and do not need to be included in SVN. They will be recreated when you check your code base and build.

0
source

Source: https://habr.com/ru/post/1715939/


All Articles