git checkout dev
git merge master
git push

git checkout master
git merge --squash dev
git commit
git push
git checkout dev