Error: path doesn't point at a valid Git Repository (v2020)

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
wevens
User
Posts: 97

Error: path doesn't point at a valid Git Repository (v2020)

Post by wevens »

Hi,

Some time ago, I had problems with my NAS on which there seemed to be a folder ../PHPMaker/Backup. (I wasn't aware of that before).
All files in that folder have been removed due to this problem.

PHPMaker is installed locally on my PC, so that still works. But each time when I want to save my project, I got this error:

Path '\\...my documents...\PHPMaker\Backup' doesn't point at a valid Git repository or workdir.

Everything else works ok so far, so I can actually save the project and reopen it.

Any idea what this error means and how I could repair that?


arbei
User
Posts: 9284

Post by arbei »

If you don't need to backup your project to a git repo (on Github), you should remove the advanced settings for Git, see Sharing Project with Other Users.


wevens
User
Posts: 97

Post by wevens »

I found the solution.

Note that I am using v2020.
As said, I had issues with my NAS so all files where erased. I was only able to restore folder structure.
So the .git-folder had all its subfolders, but no content.
After I removed the whole .git-folder and then saving my project again, everything was ok. The .git-folder was created automatically again including subfolders and content.


Post Reply