Which git command must be used?

A developer is working on a bug fix. The existing branch named ‘bugfix05328’ needs to be merged with the current working primary branch named ‘prim404880077’. All changes must be integrated into a single commit instead of preserving them as individual commits. Which git command must be used?
A. git checkout – –squash bugfix05328
B. git merge – –squash bugfix05328
C. git rebase – –merge bugfix05328
D. git push – –rebase bugfix05328

cisco-exams

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.