Complete the command to merge the branch named 'feature' into the current branch.
git [1] featureThe git merge command combines the changes from the specified branch into the current branch.
Complete the command to create a new branch named 'feature' and switch to it.
git [1] -b featureThe git checkout -b command creates a new branch and switches to it immediately.
Fix the error in the command to merge the 'feature' branch into the current branch.
git [1] featureThe correct command to combine work from another branch is git merge feature.
Fill both blanks to create a new branch named 'feature' and then merge it into 'main'.
git [1] -b feature git checkout [2] git merge feature
First, create and switch to the 'feature' branch with git checkout -b feature. Then switch back to 'main' with git checkout main before merging.
Fill all three blanks to create a dictionary comprehension that maps branch names to their latest commit hashes, filtering only branches starting with 'feature'.
branch_commits = [1]: [2] for [3] in branches if [3].startswith('feature')
This comprehension creates a dictionary where keys are branch names and values are their commit hashes. It loops over each branch in branches and filters those starting with 'feature'.