Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Make a /docs a Git subtree #3647
While the splitting of docs => hugoDocs was a good idea, and we should continue with that, the submodule approach has some major flaws:
Maybe Git subtrees?
Help/suggestions welcome. I think we got to fix this sooner than later.
This article describes it pretty well:
git remote add docs email@example.com:gohugoio/hugoDocs.git git subtree add --prefix=docs/ docs master --squash
Pulling changes should be:
git subtree pull --prefix=docs/ docs master --squash
@digitalcraftsman we should mostly do changes in