do not want to break anything in the master branch.
I forked a develop branch through below commands git checkout develop git pull upstream develop # pull the updates locally based on the git push origin develop # sync your local develop branch with
accidentally made few commits in that develop branch then reverted back with below commits d3b229f9 (develop) Merge branch 'develop' of github.com:ROCmSoftwarePlatform/bench into develop 16daa203 Revert "kernel converter tool to create yaml file from lib 97e834cb kernel converter tool to create yaml file from lib"
Created below work branch from develop,
git checkout -b kerneldid all my changes in "kernel" branch, pushed,created PR, now need to complete the PR. ie merge all kernel branch changes to develop but I do not want to see d3b229f9,16daa203,97e834cb commit messages, only want to see 5a555e7a from the below list. how can I get rid of 3 commit messages from both "develop" branch and "kernel" branch seamlessly?
Note: I did squash merge for kernel branch yet I could not get rid of commits I made in develop branch
"kernel" Branch has the below commits, I only want 5a555e7a message after the merge
5a555e7a (HEAD -> kernel, origin/kernel) new tool yaml file
d3b229f9 (develop) Merge branch 'develop' of github.com:softwarePlatform/Benchmark into develop
16daa203 Revert "kernel converter tool to create yaml file from lib logic"
97e834cb kernel converter tool to create yaml file from lib logic
f4af1648 (upstream/develop) Merge pull request #1244 from xxxxx/develop
b1a07da2 update version for new release