Error in syncing to Pavlovia

Hi everyone!

A few days ago, I created an experiment on Pavlovia using Builder. Today, I made some changes, but I wasn’t able to sync them with Pavlovia. I already cleared the cache. Then, I deleted the experiment and recreated it from scratch. However, the following error appears:

Traceback (most recent call last):
  File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\builder\builder.py", line 1612, in onPavloviaSync
    pavlovia_ui.syncProject(parent=self, file=self.filename, project=self.project)
  File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\app\pavlovia_ui\project.py", line 854, in syncProject
    project.sync()
  File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py", line 912, in sync
    self.firstPush(infoStream=infoStream)
  File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py", line 1149, in firstPush
    info = self.commit(
  File "C:\Program Files\PsychoPy\lib\site-packages\psychopy\projects\pavlovia.py", line 1315, in commit
    info = self.repo.git.commit('-m', message)
  File "C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py", line 638, in <lambda>
    return lambda *args, **kwargs: self._call_process(name, *args, **kwargs)
  File "C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py", line 1183, in _call_process
    return self.execute(call, **exec_kwargs)
  File "C:\Program Files\PsychoPy\lib\site-packages\git\cmd.py", line 983, in execute
    raise GitCommandError(redacted_command, status, stderr_value, stdout_value)
git.exc.GitCommandError: Cmd('C:\Program Files\PsychoPy\MinGit\cmd\git.exe') failed due to: exit code(1)
  cmdline: C:\Program Files\PsychoPy\MinGit\cmd\git.exe commit -m Push initial project files
  stdout: 'On branch master
nothing to commit, working tree clean'

Any ideas on how to fix this issue?
OS: Windows 11
Version: 2024.2.4

Hello

Delete the hidden folder and file .git. Notice that this deletes all connections to your remote repository. See for instance here Nothing to commit, working tree clean · community · Discussion #23135 · GitHub

Best wishes Jens

It worked. Thank you so much!