Answer the question
In order to leave comments, you need to log in
How to dump indexed commit files?
Good evening! Please tell me, this is the situation:
- I have committed 5 commits (a, b, c, d, e)
- there are several files in each commit
Now I look, I added some files to the commits incorrectly and they should belong to other commits
Now I I want to merge all the commits into one (a) and then break them correctly.
The question is: can I do this so that when I merge into one commit (using rebase -i) somehow throw off the indexed changes to the unindexed ones? So that in one commit there are all my edits from all commits and somehow reset them to non-indexed ones, and then commit correctly. Thank you
in advance for your help!
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question