PB 2025 and GIT not using .gitignore
- New
- How-to
-
Alfredo Santibanez
- PowerBuilder
- Monday, 12 May 2025 05:52 PM UTC
Dear Friends
I am testing the migration to PB2025 (3683) so far without problems, except when moving to GIT.
- Create a new folder with app required files
- Create new Workspace (not yet a solution)
- Add targets and they were migrated
- Compile full all targets
- Create a new repository on GIT for this version
- Copy the .gitignore file from PB2022 R2
When issuing the “Add to source control” what I noticed is that all settings on .gitignore file are not used, and all files are created for the initial commit. (including *.pbd, *.dll, etc., etc.)
I also tried first adding the git from the GIT command prompt, and now only the files needed are on my repository.
Then I tried again in PB2025 and still all the files are created for the commit. And now includes whe ws_objects folder.
What should I do to be able to commit from PB only the needed files?
I do not remember having this issue with PB2022 R2.
Best Regards
Alfredo
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.