By Joel Dare - Written April 1, 2026
If you want to start a blog, are familiar with Git, and like writing in Markdown, this may work for you. Follow these directions and you’re blog will be online in 15-minutes. I’ve broken the process down to three basic steps:
First, we’ll clone an example repo into a local directory called /blog. Open a terminal and run the following commands.
git clone git@github.com:codazoda/blog-template.git blog \
&& cd blog \
&& rm -rf .git
Next, we’ll push our repository to GitHub.
Create repository button to create your new repo on GitHub.IMPORTANT: Replace YOUR_USERNAME with your GitHub username.
git init
git add .
git commit -m 'start my blog'
git branch -M main
git remote add origin git@github.com:YOUR_USERNAME/blog.git
git push -u origin main
Finally, we want to publish the page.
It takes a couple minutes for GitHub to build and publish your new site. As soon as it’s finished it will show a Visit site link at the top of the page. Once it’s there, click the link to open your new blog.
Congratulations, your blog is online!
Anytime you make changes, you can now run git push to push those changes live. It takes a couple minutes for GitHub to build the site each time you push. One it does, your changes should be live.
Now that you have a blog there is much more that you can do, including setting up your own custom domain name, editing the style, and more.
JoelDare.com © Dare Companies Dotcom LLC
through formrobin.com