There are two branches master and feature.
The development goes in feature branch and there multiple commits done in that branch, but in between them there were several merges with master branch, so the log for feature branch is for example something like:
feature commit 1
master commit 1
feature commit 2
master commit 2
feature commit 3
Is it safe to squash all these commits into one feature commit 1 ?
Are there any problems that I could come across when merging feature branch into master ?