So, let's say I have a main branch, we will call the "master". I created a branch called the "new feature". I made a ton of commits in this thread so that I can go back in time, but when developing this function, I did quite a lot back and forth, so the commit log is pretty dirty.
If I looked at git diff master..new-feature for example.
If I wanted to create only one new fresh commit on "master" that includes all changes between the two branches, what is the most efficient way to do this?
hhh
source share