I have multiple commits in one branch. When I push these commits for code review, our code review tool creates one review for each commit.
To avoid this I want to merge multiple commits to a single commit. At the same time I don’t want to lose the history of commits. Is it possible to create a new branch only for review and combine all the commits in my master branch to a single commit in my review branch? How do I do this?
I dont know your review tool, but this may work
http://www.kernel.org/pub/software/scm/git/docs/git-merge.html