Delphi RES files and Git

前端 未结 6 1490
无人及你
无人及你 2021-02-04 00:19

I have a big project written in Delphi and I want to manage its sources using Git. I created Git repository, which includes my application\'s sources and 3rd party components. A

6条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-04 00:33

    I keep my project RES files in git (those that match the name of the dpr).

    I believe the only reason the project RES file would change every time you build is if you have increment build number set, which to me either means you need to keep the res in source control or you don't care about the build number so you should turn off that option.

    I do also have RES files that I build from RC, which change every compile, so I have a gitignore for *.res and I then add git add -f project.res for the project RES files

提交回复
热议问题