I write most of these posts in org-mode, but sometimes it makes sense to have the resulting files in its own repository.

I wrote up how to do that but I keep on forgetting, so here's me writing it down again:

Create a new gh repo:

1
  gh repo create wschenk/name --public

Add that into the front matter as #+remote: https://github.com/wschenk/name

Pull it down

1
  seperate-git.bash status

Add the files

1
  seperate-git.bash add .
1
seperate-git.bash commit -m "initial commit"

Push the files

1
seperate-git.bash push origin main

easy-peasy