Skip to content

About

Blog posts repo used as submodule in jekyll site

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

94 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog posts repo for jekyll site

Rather than having one repo for a jekyll site and mixing up the git history with commits for the site and the content, I'm using a git submodule for posts. See this guide for an overview of the setup.

Usage

To keep things simple, write posts in the actual "blog posts" repo. Don't edit the submodule in the jekyll repo. The usual workflow is:

  1. In the blog-posts repo: write posts and push to the remote when ready
  2. In the main site repo: grab updated submodule with git submodule update --remote, and then commit and push the change to publish to your site

About

Blog posts repo used as submodule in jekyll site

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages