Skip to main content
The 2024 Developer Survey results are live! See the results
added 137 characters in body
Source Link

In my opinion the easiest way:

git checkout --orphan <your new branch>

A response containing this idea

A more technical though still generic way:

Generic way to squash commits

In my opinion the easiest way:

git checkout --orphan <your new branch>

A response containing this idea

In my opinion the easiest way:

git checkout --orphan <your new branch>

A response containing this idea

A more technical though still generic way:

Generic way to squash commits

Source Link

In my opinion the easiest way:

git checkout --orphan <your new branch>

A response containing this idea