Benefits of a Git-backed Blog
davidsweetman.com
Benefits of a Git-backed Blog
1–10 of 17 posts
Re: Benefits of a Git-backed Blog
#2At that moment, the easiest way would have been to "rm -r .git". As git stores all its metadata in that hidden directory, this is a safe way to undo the creation of a repository.
Re: Benefits of a Git-backed Blog
#3Re: Benefits of a Git-backed Blog
#4Even more so if the tool in question refuses to do anything unless -f is given.
That said, I'm glad to see that the OP took this as a learning experience and not as a reason for posting a long-winded rant about why git should be considered harmful
Re: Benefits of a Git-backed Blog
#5Re: Benefits of a Git-backed Blog
#6Re: Benefits of a Git-backed Blog
#7Blogpost describes: "Deleting all my files with git"
Conspicuously Missing: "Benefits of a Git-backed Blog"
Re: Benefits of a Git-backed Blog
#8The benefits of this particular setup include:
* all articles are under version control
* just do a `push` to publish
* easily run a local Jekyll server to preview articles
* use a real programmer's text editor (not some web form)
* Markdown is the best for tech articles
* write, preview and commit while offline
* code syntax highlighting
* integration of snippets (gists)
* variable layouts for different page types
* pages are static so are served fast
* easy to add comments with Disqus et al
* easily port your content anywhere
* keep images and other binary content alongside text
Which reminds me - dear $DEITY, when is HN going to support Markdown?!
Re: Benefits of a Git-backed Blog
#9* comments on it on the blog *
* comes to HN and discovers people have already made my comments in the comment thread *
Great minds...
Re: Benefits of a Git-backed Blog
#10Title says: "Benefits of a Git-backed Blog" Blogpost describes: "Deleting all my files with git" Conspicuously Missing: "Benefits of a Git-backed Blog"