diff --git a/lib/middleman-deploy/strategies/git/force_push.rb b/lib/middleman-deploy/strategies/git/force_push.rb index 113d385..266cfe5 100644 --- a/lib/middleman-deploy/strategies/git/force_push.rb +++ b/lib/middleman-deploy/strategies/git/force_push.rb @@ -20,7 +20,7 @@ module Middleman `git init` `git remote add origin #{url}` `git config user.name "#{self.user_name}"` - `git config user.name "#{self.user_email}"` + `git config user.email "#{self.user_email}"` else # check if the remote repo has changed unless url == `git config --get remote.origin.url`.chop