davidmerfield / blot-git-blog

Can I push a blog's git repo to GitHub? Yes!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Readme

This repository is the source folder for this blog on Blot. Here's how I got it onto GitHub:

  1. Create new blog on Blot, set up git client and clone to my machine per instructions:
git clone https://blot.im/clients/git/end/git.git
  1. Go to GitHub, create new empty repository and copy its URL which in my case is
https://github.com/davidmerfield/blotgitblogtest.git
  1. On my machine, add remote 'github' with this command
git remote add github https://github.com/davidmerfield/blotgitblogtest.git
  1. Verify additional remote location:
git remote -v
> github	https://github.com/davidmerfield/blotgitblogtest.git (fetch)
> github	https://github.com/davidmerfield/blotgitblogtest.git (push)
> origin	https://blot.im/clients/git/end/git.git (fetch)
> origin	https://blot.im/clients/git/end/git.git (push)
  1. Now I can git push github or git push origin as needed!

  2. It might be worth following these instructions to make git push push to both remotes.

About

Can I push a blog's git repo to GitHub? Yes!