Reputation: 69
I’ve been having some issues with git/GitHub desktop sync issues with Hugo Blogdown theme folder (academic). After renaming/updating, I've a 'missing themes folder'. Once this is fixed, I'll be able to host my Hugo Blogdown website w/ academic theme. If anyone has had similar issues, please advise. Thanks!
I work with macOS High Sierra (v10.13.4
) and RStudio (v1.2.616
) w/ Hugo (v0.30
) blogdown (v0.6.3
) and the academic theme.
I'm posting it again here on Stack Exchange so as to get a quick resolution.
I tried to update the theme folder to make sure I have the latest version with the recent fixes+suggestions. However, I've been having trouble with it the past few times. It probably started with my renaming the folder name from Hugo-academic to academic (back and forth) using RStudio+terminal. Now, I am not able to add the themes folder to my online GitHub repo no matter what I fix. Not sure where the underlying problem is: git/GitHub desktop, Hugo blogdown or the academic theme issue. Hence, I've used all these tags
!
Assuming that it was a GitHub desktop issue, I initially posted my concern here (please see screenshots of error messages). I followed the steps for academic theme update here and stackoverflow for git submodule add
.
Based on my most recent update in this issue, the commit did happen. Bottom line: I don't see the folder on GitHub, yet!
Clearly, I'm missing something. I'd appreciate any troubleshooting help, and please let me know if you need any further clarification on the question. thank you!!
ps. Of the suggested modes, I used the zip option to update the academic folder even though I may have used git clone option earlier. I am having trouble with either/all options now.
Upvotes: 0
Views: 694
Reputation: 1636
Updating via Git cloning - as explained in the wonderful doc pages by George Cushen – did not work for me too. I changed the name of the remote repository from origin
to upstream
and did all the other following commands. But there was no response at all in the terminal.
It seems there is some incompatibility between R/RStudio/blogdown/GitHub as listing the available updates didn't work either. See also the answer by George Cushen at his GitHub repo.
It appears that this issue is mainly related to Git/Hugo in general and their integration with RStudio/Blogdown.
So I changed the method for updating. I succeeded with the ZIP method without any problem.
Upvotes: 0