When doing merge in Git, it automatically commits merge results if no conflicts exist. That behaviour can be changed when --no-commit
parameter provided.
How to merge in Git without commit
git merge branch-name --no-commit --no-ff

Alex Shapovalov is a founder of Yaplex – an IT consulting and software development company, located in Ontario, Canada. Alex provides IT consulting and .NET software development services in Canada and the USA.