Please assume a branch:
- HEAD
- Commit-3
- Commit-2
- Commit-1
The content of a specific commit, say Commit-1, can be modified as elaborated below:
How to modify a specified commit?
How to amend older Git commit?
Nevertheless, such attempts "will change the SHA-1 of the commit as well as all children" as stated here.
Question:
Is it possible to modify Commit-1 without changing the SHA-1 of the consecutive commits? (The SHA-1 of Commit-1 can be changed.)
 
     
    