Which version of the book is affected?
Problem is present in source and online books.
Describe the bug:
There is a paragraph says that:
Remember again that this is a rebasing command — every commit included in the range HEAD~3..HEAD will be rewritten, whether you change the message or not.
However, I found that the statement is incorrect.
Steps to reproduce:
- Execute
git rebase -i HEAD~3.
- When seeing the rebase todo list, leave it unchanged and quit.
Expected behavior:
According to the above mentioned paragraph, the commits should be rewritten. However, they were not. That is, the SHA-1 between HEAD~3..HEAD were not changed.
Which version of the book is affected?
Problem is present in source and online books.
Describe the bug:
There is a paragraph says that:
However, I found that the statement is incorrect.
Steps to reproduce:
git rebase -i HEAD~3.Expected behavior:
According to the above mentioned paragraph, the commits should be rewritten. However, they were not. That is, the SHA-1 between
HEAD~3..HEADwere not changed.