Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

GitHub Exam GitHub-Foundations Topic 4 Question 21 Discussion

Actual exam question for GitHub's GitHub-Foundations exam
Question #: 21
Topic #: 4
[All GitHub-Foundations Questions]

Pull requests can only be created between two branches that are:

Show Suggested Answer Hide Answer
Suggested Answer: D

Pull requests are created to propose changes from one branch to another. These branches must be different; otherwise, there would be no changes to propose. Typically, pull requests are made from a feature or topic branch to a main branch (such as main or master), allowing for code review and integration before the changes are merged.


Contribute your Thoughts:

Lisha
3 months ago
B, because a pull request is all about collaboration, and that means different users. Unless you're some kind of Git wizard who can pull request to themselves.
upvoted 0 times
Laquanda
2 months ago
That's right, it's important to have different users involved in the pull request process.
upvoted 0 times
...
Lavonna
2 months ago
Exactly, pull requests are meant for collaboration between different users.
upvoted 0 times
...
Cristy
2 months ago
B, because a pull request is all about collaboration, and that means different users.
upvoted 0 times
...
...
Rashida
3 months ago
Easy peasy, it's option D. If the branches were the same, you'd just be merging, not creating a pull request.
upvoted 0 times
...
Tamala
3 months ago
C'mon, everyone knows the answer is D. Anybody who thinks it's A or C needs to brush up on their Git basics.
upvoted 0 times
Eloisa
2 months ago
Yeah, D is the correct answer. A and C are definitely not right.
upvoted 0 times
...
Stephanie
2 months ago
No, it's definitely not A. It has to be D for sure.
upvoted 0 times
...
Tambra
2 months ago
I'm not sure, but I think it's A. Can someone confirm?
upvoted 0 times
...
Tamra
2 months ago
I think the answer is D too. It's pretty straightforward.
upvoted 0 times
...
...
Luis
3 months ago
I'm going with B. The branches need to be authored by different users for a pull request to make sense.
upvoted 0 times
Erick
3 months ago
So, the answer is B. Authored by different users.
upvoted 0 times
...
Latrice
3 months ago
Yes, that's correct. It helps in collaboration and code review.
upvoted 0 times
...
Levi
3 months ago
I think you're right. Pull requests are usually made between branches authored by different users.
upvoted 0 times
...
...
Martin
4 months ago
Definitely D. Trying to create a pull request between the same branch would be like trying to pull yourself up by your own bootstraps.
upvoted 0 times
...
Gail
4 months ago
I think the answer is D. The branches can't be the same, they need to be different for a pull request.
upvoted 0 times
Xuan
3 months ago
So the answer is D, the branches must be different for a pull request.
upvoted 0 times
...
Juan
3 months ago
Yes, that's correct. Pull requests can only be created between different branches.
upvoted 0 times
...
Flo
3 months ago
I agree, the branches for a pull request need to be different.
upvoted 0 times
...
...
Fausto
4 months ago
I'm not sure, but I think it's either C) The same or D) Different. Can someone explain the rationale behind the correct answer?
upvoted 0 times
...
Larae
5 months ago
I agree with Loren, because pull requests are usually made between different branches.
upvoted 0 times
...
Loren
5 months ago
I think the answer is D) Different.
upvoted 0 times
...

Save Cancel