Hi Bjarne,
As you point out, the PBL file is a "duplicate" of the source code in *.SR? files.
You can adjust your .gitignore file to exclude .PBL files. That's one approach. You often see .gitignore excluding .EXE, .DLL, etc.
Alternative (my approach currently) is to manually commit updated .PBL files just before pushing changes in my local git repo to next level of git repo. My setup:
- Central repo - where we do branching/merging
- PC local repo - my local "master" managing the hand-offs between local repos and central repos.
My PB specific and SQL specific repos all sync back to this PC local repo.
- PB specific repo - one for each combo of PBW workspace and branch.
- SQL specific repo - one for each combo of MS SQL Server Mgmt. Studio solution and branch - the DB equivalent of my PB workspaces.
This works for me. You may decide to manage your git repos in a completely different structure.
HTH /Michael