Complete the command to merge branch 'feature' into the current branch.
git [1] featureThe git merge command combines the changes from the 'feature' branch into the current branch, preserving the history.
Complete the command to rebase the current branch onto 'main'.
git [1] mainThe git rebase command moves the current branch commits on top of the 'main' branch, rewriting history for a linear sequence.
Fix the error in the command to rebase 'feature' branch onto 'main'.
git checkout feature
git [1] mainAfter switching to 'feature', use git rebase main to move its commits on top of 'main'.
Fill both blanks to create a new branch 'feature' from 'main' and rebase it onto 'main'.
git [1] feature main git checkout feature git [2] main
First, create the branch with git branch feature main, then switch and rebase it with git rebase main.
Fill all three blanks to merge 'feature' into 'main' and then delete 'feature' branch.
git checkout [1] git [2] feature git branch -d [3]
Switch to 'main', merge 'feature' into it, then delete 'feature' branch safely.