I am an absolute GitHub noob, but like, I’m trying my best.
When I created this website, I didn’t realise I should have created the
hugo new site in a cloned repository that was already on my computer, so, I am using the second answer of this stack overflow question to do it.
After some finicking, I now have my Hugo site version control being managed in Git. I think.
My .gitignore file came from here https://github.com/github/gitignore/blob/main/community/Golang/Hugo.gitignore I am only semi-confident in my .gitignore file for the website, but like, it’s fine.
I used this when my website did weird stuff. One day I will stop nuking my repos when things go wrong. I don’t mind losing my
/public commits because I still have a lot of the history in my digital gardens repo.
Merge conflicts https://stackoverflow.com/questions/64395814/how-to-resolve-branch-conflicts-in-vscode-github-pull-requests-and-issues-extens https://www.freecodecamp.org/news/resolve-merge-conflicts-in-git-a-practical-guide/
digital-garden init on new laptop, cloned and submodule stuff with first method https://www.w3docs.com/snippets/git/how-to-clone-including-submodules.html
it was cloned to documents. I’ve been cloning to google drive LOL my bad https://stackoverflow.com/questions/69056041/is-it-dangerous-to-put-git-directory-in-drive-sync-tool
I needed to do this before making my first commit on new laptop https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup