Answer the question
In order to leave comments, you need to log in
How to squash commits on func. blocks within a branch?
The bottom line is, there is a branch, it has 400 commits in 5 main blocks (main, listing, product card, etc.). Mixed commits like:
- main
- main edits
- listing
- card
- more main
edits - card
edits - listing edits
- cart
Etc. The task is to break everything into 5 commits by main blocks. How to do it? thanks in advance
Answer the question
In order to leave comments, you need to log in
The task is to crush everything in 5 commits on the main blocks. How to do it?
git reset
at the beginning of the branch, and then manually add the necessary changes and commit.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question