# Can't upload revised experiment after deleting previous version

**URL:** <https://discourse.psychopy.org/t/cant-upload-revised-experiment-after-deleting-previous-version/17102>\
**Category:** Online experiments\
**Created:** [October 8, 2020, 8:40am UTC](https://discourse.psychopy.org/t/cant-upload-revised-experiment-after-deleting-previous-version/17102 "2020-10-08T08:40:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lindy\_Comstock](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/lindy_comstock/32/5097_2.png) [@Lindy\_Comstock](https://discourse.psychopy.org/u/Lindy_Comstock)\
**Post date:** [October 8, 2020, 8:40am UTC](https://discourse.psychopy.org/t/cant-upload-revised-experiment-after-deleting-previous-version/17102/1 "2020-10-08T08:40:21Z")

</div>

URL of experiment: [https://run.pavlovia.org/lindybc2/iat\_v1o1](https://run.pavlovia.org/lindybc2/iat_v1o1)

Description of the problem:  
I deleted the experiment due to issues updating the file. When I attempt to upload the experiment a second time, I get this error message and I am forced to “recreate the experiment” rather than start anew. I would appreciate it if you could explain how to re-upload this experiment from scratch.

Upon clicking the URL: 403 Forbidden

Error message on uploading:  
Pushing to Pavlovia for the first time…Traceback (most recent call last):  
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\app\pavlovia\_ui\project.py”, line 497, in syncProject  
project.firstPush(infoStream=syncFrame.syncPanel.infoStream)  
File “C:\Program Files\PsychoPy3\lib\site-packages\psychopy\projects\pavlovia.py”, line 822, in firstPush  
info = self.repo.git.push(’-u’, self.remoteWithToken, ‘master’)  
File “C:\Program Files\PsychoPy3\lib\site-packages\git\cmd.py”, line 548, in   
return lambda \*args, \*\*kwargs: self.\_call\_process(name, \*args, \*\*kwargs)  
File “C:\Program Files\PsychoPy3\lib\site-packages\git\cmd.py”, line 1014, in \_call\_process  
return self.execute(call, \*\*exec\_kwargs)  
File “C:\Program Files\PsychoPy3\lib\site-packages\git\cmd.py”, line 825, in execute  
raise GitCommandError(command, status, stderr\_value, stdout\_value)  
git.exc.GitCommandError: Cmd(‘C:\Program Files\PsychoPy3\MinGit\cmd\git.exe’) failed due to: exit code(128)  
cmdline: C:\Program Files\PsychoPy3\MinGit\cmd\git.exe push -u master  
stderr: 'fatal: ‘master’ does not appear to be a git repository  
fatal: Could not read from remote repository.

Please make sure you have the correct access rights  
and the repository exists.’

---

<div class="post-metadata">

**Author:** ![thomas\_pronk](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/thomas_pronk/32/9531_2.png) [@thomas\_pronk](https://discourse.psychopy.org/u/thomas_pronk)\
**Post date:** [October 8, 2020, 8:41am UTC](https://discourse.psychopy.org/t/cant-upload-revised-experiment-after-deleting-previous-version/17102/2 "2020-10-08T08:41:35Z")

</div>

Try removing the .git folder and then sync again. Does that help?

---

<div class="post-metadata">

**Author:** ![Lindy\_Comstock](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/lindy_comstock/32/5097_2.png) [@Lindy\_Comstock](https://discourse.psychopy.org/u/Lindy_Comstock)\
**Post date:** [October 10, 2020, 7:26am UTC](https://discourse.psychopy.org/t/cant-upload-revised-experiment-after-deleting-previous-version/17102/3 "2020-10-10T07:26:23Z")

</div>

Yes, thanks, I erased all the files related to the online sync and relabeled the folder and then it works.
