Topic 1 Question 138
Two developers are working on separate application releases. The developers have created feature branches named Branch A and Branch B by using a GitHub repository’s master branch as the source.
The developer for Branch A deployed code to the production system. The code for Branch B will merge into a master branch in the following week’s scheduled application release.
Which command should the developer for Branch B run before the developer raises a pull request to the master branch?
git diff branchB master git commit -m
git pull master
git rebase master
git fetch -b master
ユーザの投票
コメント(5)
- 正解だと思う選択肢: C
Option C: git rebase maste
👍 2matt2002024/08/14 - 正解だと思う選択肢: C
Answer is C
👍 2aragon_saa2024/08/14 Rebasing In Git, there are two main ways to integrate changes from one branch into another: the merge and the rebase. In this section you’ll learn what rebasing is, how to do it, why it’s a pretty amazing tool, and in what cases you won’t want to use it.
The Basic Rebase If you go back to an earlier example from Basic Merging, you can see that you diverged your work and made commits on two different branches.
Answer C
👍 2mzansikiller2024/08/18
シャッフルモード