Undo, Move, Cherrypick
Last updated on 2025-11-24 | Edit this page
Overview
Questions
- How to undo changes to a repository?
- How to rename a branch?
- How to incoproate specific changes in one branch into another?
Objectives
- Learn how to undo a specific commit.
- Learn to rename an existing branch.
- Learn to pick and incorporate specific changes into a different branch.



- A local repository can still be changed.
- Once pushed to a remote, changing history can create complications.
{% include links.md %}