Skip to content

Commit

Permalink
Fix Git user.email change in force push strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
Pete Nicholls committed Jan 18, 2015
1 parent 21d04f2 commit 4b79845
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/middleman-deploy/strategies/git/force_push.rb
Expand Up @@ -20,7 +20,7 @@ def add_remote_url
`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
Expand Down

0 comments on commit 4b79845

Please sign in to comment.