Issues with syncing hf space and github repo
Hey everyone,I want to know what the general practice is for maintaining an HF Space and GitHub repo.I read the documentation forManaging Spaces with Github Actions, but this seems more like a guide for syncing existing Github repo.I had an HF Space that I cloned locally and worked with, but later thought of having a github repo for the same; after I managed to set the action workflow but both themain.yamlandcheck.yamlfailed to run.I then created a new HF Space (for diff. project) but this time I simultaneously created a GH repo and I’ll list a few issues I had with this approachI wasn’t able to add a remote origin for space before I cloned the space repo locally as well. Which I think shouldn’t be the case if I want to maintain only a single repo.After this, I don’t understand what thegit push --force space mainis for, as both repos are currently empty and have nothing to push.(I’m not good with git, so do let me know if this has some purpose)After doing this step I got an error for which I had to--unset-upstreamin my github repo due to which a few files that got pushed to the HF Space repo don’t seem to be there in the GH repo (README.md, app.py, .gitignore)And similar to the first case themain.yamlandcheck.yamlactions failed here as well.So, do I need to do things differently?Like should I start a GH repo first, initialize with required files, and then start an HF space or am I doing something else wrong?(I’ll try to reproduce the errors if required)