To go to work with one of the old commits, I used this scheme:
git checkout -b имя-новой-ветки aaaaaa (wt) (i) A - B - C - D ↑ ↑ new master (HEAD) Taken from this answer .
But now I need to merge with the master branch, so as to be after commit D , and come to this state. Since the work is still being done in the master branch.
---------- M / \ A - B - C - D - H ↑ master (HEAD) How to do it?
Мcommit in your branch of a feature is made or inmaster? - Nick Volynkin ♦