What is a Git rebase used for?
- Combining or integrating branches
- Creating a new branch
- Inspecting changes made in a branch
- Undoing changes in the working directory
Git rebase is used for combining or integrating branches. It allows you to apply a sequence of commits from one branch onto another, helping to maintain a linear project history. This is particularly useful for keeping feature branches up to date with the latest changes in the main branch.
Loading...
Related Quiz
- GitHub Flow encourages _______ deployment of code changes to production.
- Which caching strategy is suitable for reducing database load and improving response times for frequently accessed data?
- _______ scope is created when a function is defined and persists even after the function returns.
- Which AWS service allows users to define and provision infrastructure resources using code?
- Among the options, which language is renowned for its simplicity, readability, and extensive standard library, commonly used in web development with frameworks like Flask and Django?