I have a branch where I work since few weeks. Sometimes I go back on main to work on other features, and then come back to my branch.
While doing this, I git fetch
and then git merge
in my branch to stay up to date.
Problem : I have actualy 46 commits
that I want to squash
but I have my colleagues's commits in between.
How can I squash
all my personal commits on my personal branch ?
When I git log
, i see my commits but also everyone's commits.