search

Home  >  Q&A  >  body text

hexo - How to clone another git project into a subfolder in a git project and add it to the git tree?

Using hexo to build a blog requires distributed writing at the company and at home.
Hexo Execute
git clone git@github.com:yscoder/hexo-theme-indigo.git themes/indigo
hexo itself is a git project in the hexo blog directory. Executing git status shows that there is nothing that can be submitted. How to add the hexo/themes/indigo directory to the hexo git project? Submit to github.

黄舟黄舟2771 days ago677

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-05-02 09:41:35

    Delete the .git file in indigo

    reply
    0
  • Cancelreply