MATLAB Projects causes error on git (missing HEAD)
Mostra commenti meno recenti
I have tried many times to integrate my repository with MATLAB Projects. Initially, everything seems fine - I was able to add the *.prj file and everything in the resources/project folder and push them to GitHub. Then, after adding submodules in the repository, I was unable to do anything (fetch, pull, push, refresh etc). UPDATE: It doesn't have to do with submodules, the error could happen even before adding any submodules. It seems like my local repo is corrupted (?). I have tried this again and again (deleting the local repo and cloning from the remote) to no avail. I even try creating a dummy repo and initializing a project there, same results. This is the error that always appears:
Unable to fetch from the remote 'origin' at <the repo url>.
object not found - no match for id (<latest commit ID (HEAD)>) (-3x9)

Even right-clicking in the current directory gives an error:

Please help as I really want to use projects as they are quite convenient to deal with dependencies. Thank you!
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su File Operations in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!