I have problems with squashing one branch. I have 9 commits in this branch, and all of them are made 1-2 days difference. I need to squash this branch and push it in one commit, so lead developer could look into problem easily.
So I have a branch that is called PAHASE-1-USER-SECTION, and it has 0 and 8 different commits each, the message is:
Your branch and 'origin/PAHASE-1-USER-SECTION' have diverged, and have 9 and 8 different commits each, respectively
How to squash them easily and put them in one commit?