So I think I’ve got myself into a big mess with Github Pages.
In order to convert my main GitHub Page the landing page for my portfolio, I had to move the project that was originally on the Github username repo to another folder.
Then my plan was to make the Github username repo into a plain landing page with links to other projects.
I uploaded the other projects by following these instructions: https://www.thinkful.com/learn/a-guide-to-using-github-pages/start/existing-project/project-page/existing-repo/
And then I was trying to upload the Github username repo but got a merge conflict (related to a previous problem) but since I didn’t care about any of the old files from the Github username repo, I thought it didn’t matter how I resolved the conflict so I just deleted one of the conflicting files, added the merge, committed and pushed. The new landing page deployed fine.
The problem now is, the project that USED to be in the Github username repo (and was moved to its own Github repo) is missing those exact files that I had deleted.
(Also, I had checked the project on Github Pages before I changed the Github username page and project was fine so I know problem happened after I deployed updated Github username page )
I checked the project’s remote repo and the files are NOT missing. Then I checked the project’s local repo and the files are NOT missing. I tried pushing project’s local repo once more just in case. But of course I got a msg saying,
"Everything up-to-date". So then I made some changes to the files (by adding comments) just so it would see a difference and allow me to push the files once more. The push worked fine but when I went back to the Github Pages site for the project, it looks like those files are still missing.
What can I do at this point?
I have all the code I need on local repo but I don’t want to simply move everything into new folders and start again. Clearly, I am dragging Git problems around with the files where-ever I put them.