Fix Git user.email change in force push strategy

master
Pete Nicholls 2015-01-18 14:51:25 +13:00
parent 21d04f253a
commit 4b79845d53
1 changed files with 1 additions and 1 deletions

View File

@ -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