There is a simple rule of thumb about unix tools: when you are in need of a -f or --force parameter, most likely something is wrong and you should rethink what you are doing. Even 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 harmf…
Benefits of a Git-backed Blog
11–17 of 17 posts
Re: Benefits of a Git-backed Blog
#12Title says: "Benefits of a Git-backed Blog" Blogpost describes: "Deleting all my files with git" Conspicuously Missing: "Benefits of a Git-backed Blog"
Re: Benefits of a Git-backed Blog
#13For me, the ideal approach was always to use continuous integration to publish/build my site fresh every time I commit.
Re: Benefits of a Git-backed Blog
#14I'm just about to switch over from MovableType to GitHub Pages http://pages.github.com/ . They use Jekyll http://jekyllrb.com/ to publish text, HTML or Markdown. So far it's pretty awesome. The 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)…
Re: Benefits of a Git-backed Blog
#15Re: Benefits of a Git-backed Blog
#16I'm just about to switch over from MovableType to GitHub Pages http://pages.github.com/ . They use Jekyll http://jekyllrb.com/ to publish text, HTML or Markdown. So far it's pretty awesome. The 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)…
Re: Benefits of a Git-backed Blog
#17Perhaps a bit off-topic, but isn't the use of post-receive hooks to publish your content effectively hacking Git to do something that it shouldn't? For me, the ideal approach was always to use continuous integration to publish/build my site fresh every time I commit.