Copying commits to new branches
Rebasing is the process of taking all changes committed on one branch and copying them to a new branch.
Run the git rebase command and add the -i
option to rewrite, replace, delete, and merge individual commits in the history.
You can also use the rebase command to:
- Rewrite a past commit message
- Squash a group of commits together
- Add files that have not been committed

