I have 10 commits on my branch with having 15 files changed. Now I want to keep only file changes but not commits.
Means Now I want 15 file changes in one commit.
git reset --hard commit_id
git push --force
The above command will not help us.
Edit:
I want to move my branch to one specific commit, with maintaining all file changes which happened in current commits. Then Want to add all unstash changes in one commit.
Can it be possible?