使用GitHub桌面git更新Hugo Blogdown的学术主题文件夹的问题 [英] Issue with updating Hugo blogdown's academic theme folder using git, GitHub desktop

查看:148
本文介绍了使用GitHub桌面git更新Hugo Blogdown的学术主题文件夹的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在git/GitHub桌面同步问题上遇到过与Hugo Blogdown主题文件夹(学术性)有关的问题.重命名/更新后,我有一个缺少主题文件夹".解决此问题后,我将可以托管带有学术主题的Hugo Blogdown网站.如果有人遇到类似问题,请告知.谢谢!

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!

我使用带有Hugo(v0.30)Blogdown(v0.6.3)和学术主题的macOS High Sierra(v10.13.4)和RStudio(v1.2.616).

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.

  • GitHub: Desktop
  • GitHub: Hugo-academic
  • Hugo discourse

我再次将其发布在Stack Exchange上,以便快速解决问题.

I'm posting it again here on Stack Exchange so as to get a quick resolution.

我尝试更新主题文件夹,以确保我具有最新的版本以及最新的修复程序和建议.但是,过去几次我一直在遇到麻烦.可能是从我使用RStudio + terminal将文件夹名称从Hugo-academic重命名为Academic(来回)开始的.现在,无论我如何修复,我都无法将主题文件夹添加到我的在线GitHub存储库中.不知道潜在的问题在哪里:git/GitHub桌面,Hugo blogdown或学术主题问题.因此,我已经使用了所有这些tags

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!

假设这是GitHub桌面问题,我最初在此处发表了自己的担忧. (请参阅错误消息的屏幕截图).我在此处

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.

根据我在此问题中的最新更新,确实发生了提交. 底线:我还没有在GitHub上看到该文件夹​​!

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 .在建议的模式中,即使我可能会使用zip选项来更新学术文件夹,之前使用过git clone选项.我现在无法选择其中一个/全部选项.

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.

推荐答案

通过Git克隆进行更新-如

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 upstreamand did all the other following commands. But there was no response at all in the terminal.

R/RStudio/blogdown/GitHub之间似乎不兼容,因为列出可用的更新也不起作用.另请参见George Cushen在 GitHub存储库上的答案.

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.

看来,此问题通常主要与Git/Hugo及其与RStudio/Blogdown的集成有关.

It appears that this issue is mainly related to Git/Hugo in general and their integration with RStudio/Blogdown.

因此,我更改了更新方法.我成功地使用了ZIP方法,没有任何问题.

So I changed the method for updating. I succeeded with the ZIP method without any problem.

这篇关于使用GitHub桌面git更新Hugo Blogdown的学术主题文件夹的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆