When you add files to the Git source control server, you encounter the following error:
Git detail error info: Repository path 'C:/Users/Public/Documents/Appeon/PowerBuilder 22.0/Code Examples/Example Sales App/' is not owned by current user Git client error code: -36 Failed to add files to repository.
Cause
If the file is located in the users/public folder, a network folder, or a folder mapped from the remote shared folder to the local drive, PowerBuilder IDE must be run as administrator, otherwise, the error will occur.
Solution
Solution 1: Add the following setting to the global configuration file .getconfig:
[safe] Directory = *
Solution 2: Run PowerBuilder IDE as administrator.