Rebase 与 Interactive Rebase 历史整理实验 | Git

本章覆盖:dirty local history;fixup commits;reword;squash;reorder;split;rebase onto updated main;conflict;continue / abort;compare graph before / after;判断哪些历史可以改、哪些不能改。

本章知识点

  • dirty local history
  • fixup commits
  • reword
  • squash
  • reorder
  • split
  • rebase onto updated main
  • conflict
  • continue / abort
  • compare graph before / after
  • 判断哪些历史可以改、哪些不能改