I commited and upload the change to bitbucket like and commits are like:
change3
change2
change1
now i wanted to squash the 3 and 2 in to change 1 :git rebase -i HEAD~3
then squash the commits into change1.
its ok for local but when i want to push the squash commit it shows my remote is ahead of my current push. That's obvious i think as my remote has change3 and change2.
so My question is am i using squash in wrong way ? like in my situation when i want to squash already push commit into one how should i do it ?
I am very eager to know the right say of squash already push commit. TIA.