Questions
Answer the following questions to test your knowledge of this chapter:
- When working on a series of commits to implement a feature, how can you mark a bugfix commit for later squashing into the original commit before publishing the series?
- Why should you not rewrite (rebase or amend) published history if you are using merging to integrate changes?
- How can you recover from the upstream rebase?
- What can you do when you notice that you accidentally included some large file that should not be put in version control in a commit?
- How can you undo the effect of the commit if you cannot rewrite history?
- What mechanisms exist to amend history, or a view of history, without rewriting it?