Closed
Description
Which version of the book is affected?
Problem is present in source and online books.
Describe the bug:
The book does not explain how to select the correct SHA1 commit to start a rebase operation on. The book has no example for the git rebase -i [sha1 of specific commit]
command.
Steps to reproduce:
- Go to https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History or https://git-scm.com/book/en/v2/Git-Branching-Rebasing.
- Neither of them mention the
git rebase -i [sha1 of specific commit]
command. - Reader is not sure how to select the correct commit hash to start rebasing on.
Expected behavior:
- Book contains a section on the
git rebase -i [sha1 of specific commit]
command. - Book explains how to select the correct starting hash to rebase on.
- Book gives a guided example like the ones used for
git rebase -i HEAD~3
. - Book explains methodology behing selecting the correct commit to rebase from.
Screenshots:
Additional context:
The git documentation(https://git-scm.com/docs/git-rebase#_interactive_mode) has some guidance:
Start it with the last commit you want to retain as-is:
git rebase -i <after-this-commit>
Desktop:
- Operating system: Ubuntu 18.04.2 LTS
- Browser/application: Firefox
- Browser/application version: 66.0.2
Metadata
Metadata
Assignees
Labels
No labels