What does 'git rebase' do?
- Creates a new repository
- Merges two repositories
- Deletes all commits
- Reapplies commits on top of another base tip
Explanation
Git rebase reapplies commits on top of another base tip, creating a linear project history. It's an alternative to merging that results in a cleaner commit history.