loading words...

Dec 18, 2018 14:26:50

Use source control for blogging

by @valentino | 201 words | 67🔥 | 365💌

Valentino Urbano

Current day streak: 67🔥
Total posts: 365💌
Total words: 174500 (698 pages 📄)

This article is aimed at developers who are already using source control for their code and know how it works (a more general approach will come in a later post).


Git

Git is not only useful to organize code, but it can be also used to track changes and revisions in your writing.


- Track the lifecycle of an article

- Use Blame for collaboration

- Great for editing

- Great for backup (if hosted)

- Ability to use git diff


Bonus

- If you're using Github or Gitlab Pages the flow is pretty similar.



Private

If you don't want to post your drafts in public you can use a private repository.


Some great websites that support private repository:

- Github

It offers unlimited free public repositories for everyone. Private repositories are paid (free for students)

- Gitlab

Unlimited free public and private repositories for everyone. Gitlab is open source, if you have a server you can self-host it.

- Bitbucket

Unlimited free public and private repositories for everyone


Of course if you're not a developer something easier, like Google Docs, does most of the work with almost none of the complexity. For developers who already know and use git on a daily basis this is a great starting point.

Originally published at www.valentinourbano.com

  • 1

    @valentino one of my dreams for this platform would be to have a full-blown versioning system to do collaborative writing! :)

    Basile Samel avatar Basile Samel | Dec 18, 2018 15:19:08
contact: email - twitter / Terms / Privacy