git submodule add https://github.com/Lruihao/FixIt.git (NOT A GIT REPOSITORY) #110
-
Describe the bug 描述你遇到的错误Attempting to follow the documentation (both in the README.md and the docs site). It says (to install as a submodule): returns: Expected behavior 期待的行为No response Screenshots 屏幕截图No response Build Environment 构建环境Windows 10 Preview Environment 预览环境No response Additional Information 补充信息Thank you for developing this theme! |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 7 replies
-
Please add the step to run: |
Beta Was this translation helpful? Give feedback.
-
As your error message echo that git init then, git submodule add https://github.com/Lruihao/FixIt.git themes/FixIt |
Beta Was this translation helpful? Give feedback.
-
yeap! but i think it's better to convert to a disscussion. |
Beta Was this translation helpful? Give feedback.
-
Perhaps also consider offering the option to avoid git submodules and install as a Hugo Module: |
Beta Was this translation helpful? Give feedback.
-
Note: I also ran into this message when attempting to run Hugo server: I solved this by changing the themesDir in config.toml |
Beta Was this translation helpful? Give feedback.
-
Just providing feedback on the installation process.
I believe this should say When running the hugo server, I initially ran:
When I added --disableFastRender to my hugo server then I get this (before the list of pages, files & processed images): I'm not sure if this is a problem, but I did want to use the CDN option that this theme provides. |
Beta Was this translation helpful? Give feedback.
-
One other (very minor) thing. So I searched and found that avatar.png is found in the /assets/ directory. So I am guessing that this image will not be missing once we build the static site? |
Beta Was this translation helpful? Give feedback.
As your error message echo that
fatal: not a git repository (or any of the parent directories): .git
in other words, your project is not a git repository. So, you should execute the following command at first in you project folder
then,