Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Wraps git commit message in double quotes, fixes #139

  • Loading branch information...
commit 31adeee1dfda4907cadebceda5d59ac0845624a1 1 parent 347e855
Frederic Hemberger fhemberger authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
4 Rakefile
@@ -232,7 +232,7 @@ multitask :push do
system "git add -u"
puts "\n## Commiting: Site updated at #{}"
message = "Site updated at #{}"
- system "git commit -m '#{message}'"
+ system "git commit -m \"#{message}\""
puts "\n## Pushing generated #{deploy_dir} website"
system "git push origin #{deploy_branch}"
puts "\n## Github Pages deploy complete"
@@ -284,7 +284,7 @@ task :config_deploy, :branch do |t, args|
system "git clean -fdx"
system "echo 'My Octopress Page is coming soon …' > index.html"
system "git add ."
- system "git commit -m 'Octopress init'"
+ system "git commit -m \"Octopress init\""
rakefile =
rakefile.sub!(/deploy_branch(\s*)=(\s*)(["'])[\w-]*["']/, "deploy_branch\\1=\\2\\3#{args.branch}\\3")
rakefile.sub!(/deploy_default(\s*)=(\s*)(["'])[\w-]*["']/, "deploy_default\\1=\\2\\3push\\3")
Please sign in to comment.
Something went wrong with that request. Please try again.