0
I have a branch where I had to do several commits to test CI/CD, and this branch has an open PR. However these commits were test commits and I don’t need their history. In most cases I commented something like: "testing CI/CD".
How do I reset the commits on this branch by showing only the last commit in the history? This is possible?
What happens for example if I delete this branch associated with this PR both at origin, recreate local and resubmit with pull?
Detail there have been comments in this PR.
Thank you so much for your help.
I don’t see much point to keep doing something and erasing, the history is to know even what you did and even to return to such a point if necessary.
– Guilherme Nascimento
@Felipe if I get it, you want to use the Squash and Merge option of a Github PR. Read it and see if it meets your need
– Rafael Tavares