QuestionQ5

701.3 Source Code Management

The following output is produced by git branch:

development  
main  
production  
* staging  

How can every change from the development branch be integrated into the staging branch?

  • A git stash development
  • B git merge development
  • C git branch --merge development
  • D git merge development..staging
  • E git cp --merge development .
Explanation

git merge development, when staging is the checked-out branch, merges the changes from development into staging.

Community Discussion

No comments yet. Be the first to start the discussion!