lib/socialcast-git-extensions/git.rb in socialcast-git-extensions-3.0.6 vs lib/socialcast-git-extensions/git.rb in socialcast-git-extensions-3.0.7
- old
+ new
@@ -71,9 +71,10 @@
say "into "
say destination_branch, :green
run_cmd "git branch -D #{destination_branch}"
run_cmd "git checkout #{destination_branch}"
+ run_cmd "git pull origin #{destination_branch}"
run_cmd "git pull . #{branch}"
run_cmd "git push origin HEAD"
run_cmd "git checkout #{branch}"
end