How to do git merge with accept all changes command prompt code example
Example: git merge tag to branch and squash commits
git checkout master
git merge --squash tag
git commit
git checkout master
git merge --squash tag
git commit