How to Review a Pull Request in GitHub the RIGHT Way

  Рет қаралды 103,094

CoderDave

CoderDave

Күн бұрын

Пікірлер: 112
@CoderDave
@CoderDave Жыл бұрын
🆘 NEED HELP? 🆘 Book a 1:1 Consultation with CoderDave: geni.us/cdconsult We can talk about GitHub, Azure DevOps, or any other DevOps tool or project you need help with! 🙏🏻SUPPORT THE CHANNEL🙏🏻 Buy me a coffee: www.buymeacoffee.com/CoderDave PayPal me donation: paypal.me/dabenveg
@Chatsworth1979
@Chatsworth1979 3 жыл бұрын
Ah, another "three minute Thursday here in the US" : - ) Seriously, I like these and know why you post them at this time. A good one today!
@CoderDave
@CoderDave 3 жыл бұрын
Haha right... I’m trying posting videos at different times to see the response... from my perspective it’s still Friday 😁(this was at 1 am 😄) I have a live next Tuesday 3pm, curious to see how many people (if any) will show up since it’s too late for US...
@KarlBrouillette
@KarlBrouillette 3 жыл бұрын
Thank you very much! 3 mins and I am off to do my review. Very efficient :-)
@CoderDave
@CoderDave 3 жыл бұрын
Glad it was helpful!
@Popdad
@Popdad 2 жыл бұрын
simple and to the point. Great one.
@CoderDave
@CoderDave 2 жыл бұрын
Happy you liked it 😀
@dongwalker6234
@dongwalker6234 Жыл бұрын
thank you so much!I'm new to code review and this video helps me know how should i start it
@CoderDave
@CoderDave Жыл бұрын
Very happy to know it help ☺️
@tejasdevraj329
@tejasdevraj329 10 ай бұрын
Thanks a lot!! Simple and straight to the point!!
@CoderDave
@CoderDave 10 ай бұрын
Happy you found it helpful!
@curiousteambd
@curiousteambd 3 жыл бұрын
Great in short. Thanks a lot. I was searching for it.
@CoderDave
@CoderDave 3 жыл бұрын
Happy to help :)
@pablomarkaide5466
@pablomarkaide5466 4 ай бұрын
Excellent video, just what I needed🎉
@CoderDave
@CoderDave 3 ай бұрын
Glad it was helpful!
@محمدگنجینژاد
@محمدگنجینژاد Жыл бұрын
simple and to the point, great one ♥
@CoderDave
@CoderDave Жыл бұрын
Glad you liked it!
@SainiranjanGajula
@SainiranjanGajula Жыл бұрын
Hey Dave, thanks for the video. After getting email notification from the reviewer, how do I fix changes ? 1. Do I update the PR fixes within the git ? (which will be big hassle) 2. Raise new PR with the fixes ? Please do advice and if possible please make a video. Thank you!
@CoderDave
@CoderDave Жыл бұрын
Hey there. If the reviewer asked for changes, there are 2 things you can do. 1. If you visit the PR page on GitHub, you will see the review. If the reviewer has proposed some changes, you can "accept them" directly and commit via button-click on the PR directly 2. If instead there are no proposed changes, but just text comments asking you to change something, you can simply keep committing to the same branch on your local computer, and when you push it to the origin (GitHub) you will see the content of your PR changing
@hackwithharsha5228
@hackwithharsha5228 3 жыл бұрын
Thank you good tip, I will share this with my team.. subscribed !!
@CoderDave
@CoderDave 3 жыл бұрын
Thanks! Yes it’s something simple but pretty effective 😉
@frankjoel4980
@frankjoel4980 2 жыл бұрын
Hey there, I think this is a great introduction, to me more complex questions arise. So: Like as you've mentioned, usually there are bigger PRs, so there are like 20 changes. After pushing from the DEV side, this interface seems to be completely useless to me. As a reviewer I want to re-check the code adaptions. So when checking the interface many things are "outdated" now. I cannot see the change. Or they are still valid, but I can also NOT see the change. I definitely remember on prior versions to be able to see all the changed parts of code, even with those comments. For me it's really hard to work on those comments now. Do you have and ideas / suggestions / proposals for that way? All the best, stay safe!
@CoderDave
@CoderDave 2 жыл бұрын
Hey 👋 I guess you mean after having other changes pushed to the branch, right? I’m the PR you still have the list of commits, so you can check that to see what changed. And also after merging the PR to the target branch you can rely to the change sets (list of commits), because the whole set of commits is preserved together with the comments (unless you do a squash merge)
@BruceRicard
@BruceRicard Жыл бұрын
@@CoderDave That doesn't work as of today. I click on "Show changes since your last review", which seems to be a very useful tool, but the previous comments are all gone. What I want to see is: 1. The comment I previously made 2. How the code was when I made this comment 3. The new code that pretends to be fixing the comment I made bonus: why does the commiter have the power to resolve the comments? That just seems ridiculous to me. They should be able to ack the comment, and say that they attempted to fix it, but it's should be the reviewer's responsibility to mark the conversation as resolved.
@CraigLivingston
@CraigLivingston Жыл бұрын
@@BruceRicard This is an excellent question. I get his points about doing the review then comments, but afterwards...handling comment updates, marking the conversation as resolved, and seeing changes over time all seem a bit confusing. Another PR can be submitted, but then you have to open the old pr along with the new to see what was updated based on your previous comments.
@AlecThilenius
@AlecThilenius Жыл бұрын
This question is why I watched this video in the first place. As far as I can tell, Github doesn't have a good answer especially if you use a rebase workflow like we do. Which is truly unbelievable. Guess it's time to finally pull the trigger on a Gitlab migration.
@seconds21ive43
@seconds21ive43 Жыл бұрын
@@AlecThilenius While I have not used it directly, I have a colleague who is using vscode to review his Pull Requests, and all the issues mentioned above that everyone is having seem to be fixed with it. I have tried investigating a solution like GitKraken, and their solution for Pull Requests just doesn't seem to fix the above issues.
@missthi
@missthi Жыл бұрын
On very large PRs I prefer the individual comments because then we can work in parallel: the other developer can already start thinking about my comment and potential changes, while I can continue reviewing. But I guess for smaller ones I should use the Start a review. Also will try the "suggestion" function, havent done that yet 😅
@CoderDave
@CoderDave Жыл бұрын
I see your point. However, I have 2 comments. First, if you use the single comment, the PR opener will be flooded by notifications :D and if there are more than 1 reviewer... well... notifications hell haha Second, in my opinion there should never be a huge PR... work, to be optimal, should always be split in smaller chunks... that is much easier to handle ;)
@MohdUmar-e1r
@MohdUmar-e1r Жыл бұрын
simple, short and useful
@CoderDave
@CoderDave Жыл бұрын
Happy you liked it
@luisfelipesantillanmondrag8525
@luisfelipesantillanmondrag8525 2 жыл бұрын
amazing, I made my first review using this today! thanks @CoderDave
@CoderDave
@CoderDave 2 жыл бұрын
Great to know :)
@LordKaos666
@LordKaos666 6 ай бұрын
Thank you very much for the video. Very useful.
@ChamMaduranga
@ChamMaduranga Ай бұрын
Simple and the best!
@CoderDave
@CoderDave Ай бұрын
Thanks, happy you liked it
@jonesgabriel9337
@jonesgabriel9337 Жыл бұрын
great video Dave! this was super helpful
@CoderDave
@CoderDave Жыл бұрын
Glad you think so!
@zhaoxue9042
@zhaoxue9042 3 жыл бұрын
Helped a lot!
@CoderDave
@CoderDave 3 жыл бұрын
Very happy to know it helped! 😊
@Mohajerhub
@Mohajerhub 3 жыл бұрын
Thanks mate, quick and informative
@CoderDave
@CoderDave 3 жыл бұрын
Thanks! Always happy to help ☺️
@gergitokusse2387
@gergitokusse2387 Жыл бұрын
How do we make highlight for the specific line we went to comment
@CoderDave
@CoderDave Жыл бұрын
Just click on the line number next to it 😉
@mehmetkazanc5855
@mehmetkazanc5855 2 жыл бұрын
Thanks a lot for this fast and informative content.
@CoderDave
@CoderDave 2 жыл бұрын
😀 always happy to help
@boopfer387
@boopfer387 2 жыл бұрын
great - what are you using for the markup and zoom in the screen capture? it's awesome
@CoderDave
@CoderDave 2 жыл бұрын
Thanks! What I'm using is called "ZoomIt", part of the sysinternals toolset: docs.microsoft.com/en-us/sysinternals/downloads/zoomit
@cankatmert
@cankatmert 2 жыл бұрын
Thanks for this short and informative video.
@CoderDave
@CoderDave 2 жыл бұрын
Glad it was helpful!
@mrcookie97
@mrcookie97 2 жыл бұрын
Clear and concise, thanks man
@CoderDave
@CoderDave 2 жыл бұрын
You're welcome!
@aleksandrkhomenko673
@aleksandrkhomenko673 Жыл бұрын
Thank you Dave!
@CoderDave
@CoderDave Жыл бұрын
You're very welcome :)
@ronshinall
@ronshinall 3 жыл бұрын
Good explanation. Thanks!
@CoderDave
@CoderDave 3 жыл бұрын
Thanks. Happy to know it was helpful ☺️
@trumbaron
@trumbaron Жыл бұрын
Fantastic video! Thanks
@CoderDave
@CoderDave Жыл бұрын
Glad you liked it!
@jahanzebnaqvi614
@jahanzebnaqvi614 2 жыл бұрын
Thanks great informative short video.
@CoderDave
@CoderDave 2 жыл бұрын
Glad it was helpful!
@KARASHIMENTAIKO
@KARASHIMENTAIKO 6 ай бұрын
Thank you for the great video!!
@valp_co
@valp_co Жыл бұрын
Thank you dude, it's a valuble and concise info.
@CoderDave
@CoderDave Жыл бұрын
Glad you liked it
@marypaul9627
@marypaul9627 Жыл бұрын
Excellent job
@CoderDave
@CoderDave Жыл бұрын
Thank you very much!
@wolfgang999
@wolfgang999 2 жыл бұрын
nice, keep it simple !! thank you very much man !!
@CoderDave
@CoderDave 2 жыл бұрын
You’re welcome ☺️ and thanks for the compliment
@nordiques7995
@nordiques7995 2 жыл бұрын
Hello. Nice video, thanks. Question for you, is there a way, to see the list of files that are modified in a tree view or something like it? I came from Bitbucket where there was the list of file on the left and on the right pane, all changes. It was really easy to see all files that changed for this particular Pull Request.
@CoderDave
@CoderDave 2 жыл бұрын
hey! Unfortunately it is not possible out of the box, but you could use an extension like this one: chrome.google.com/webstore/detail/better-pull-request-for-g/nfhdjopbhlggibjlimhdbogflgmbiahc
@CoderDave
@CoderDave 2 жыл бұрын
Hey Daniel, great news! Looks like the folks at GitHub hear you! There is now the beta available for the file tree in PRs. Just go to your user settings > Feature Preview > Pull Request File Tree > Enable No go to a PR, and in the Files tab you will se the new file tree layout 🥳🥳🥳
@nordiques7995
@nordiques7995 2 жыл бұрын
@@CoderDave Thanks, I just saw that yesterday. We found at work another way also, just click on . On your keyboard, it will open a Visual Studio Code inside Chrome. So it is easier to do the code review.
@さとー-k6k
@さとー-k6k 2 жыл бұрын
Thank you very much!! btw the limit time is not necessary I think 🤔
@CoderDave
@CoderDave 2 жыл бұрын
Happy it’s been helpful. Yes the time limit is something I just use 😁
@conceptcoder
@conceptcoder 3 ай бұрын
thanks man
@CoderDave
@CoderDave 3 ай бұрын
Happy to help
@angellopez6687
@angellopez6687 2 ай бұрын
Thanks!
@CoderDave
@CoderDave 2 ай бұрын
You're very welcome :)
@CafeAsp
@CafeAsp Жыл бұрын
Good job!
@CoderDave
@CoderDave Жыл бұрын
Thank you! Cheers!
@kelvinmacharia3715
@kelvinmacharia3715 25 күн бұрын
Imsightful
@pranavbadrinathan6693
@pranavbadrinathan6693 2 жыл бұрын
Thanks a bunch!
@CoderDave
@CoderDave 2 жыл бұрын
Always happy to help
@ОлегПаламарчук-р5к
@ОлегПаламарчук-р5к 7 ай бұрын
Thanks!
@CoderDave
@CoderDave 7 ай бұрын
Welcome!
@0xk4b1r
@0xk4b1r 2 жыл бұрын
great, thanks for the amazing guidance
@CoderDave
@CoderDave 2 жыл бұрын
More than welcome ☺️
@EminoMeneko
@EminoMeneko Жыл бұрын
Didn't know that. 👍
@CoderDave
@CoderDave Жыл бұрын
Glad it provided value :)
@juliandarley
@juliandarley 2 жыл бұрын
thank you. would you consider doing some example solutions for git merge conflict problems?
@CoderDave
@CoderDave 2 жыл бұрын
Happy to be helpful. The problem about merge conflicts is that they are highly dependent on the language you use, and each conflict is different from another one so not sure how helpful a video like that could be 🤔
@juliandarley
@juliandarley 2 жыл бұрын
@@CoderDave yes, that is a fair point. and in my case, though i use windows as my desktop, all my coding is linux-based and i don't use C# or azure. having said that, many merge conflicts are to do with getting tangled up (or lost) in git and trying to understand the many (imo) weird error messages that git throws and the many different commands one needs for stashing, cleaning, unstaging, etc etc. thus some merge conflict walkthroughs might actually be very useful for almost anyone trying to get to grips with git at a higher level.
@pradippsm1983
@pradippsm1983 Жыл бұрын
Superb.
@CoderDave
@CoderDave Жыл бұрын
Thanks a lot
@Add0w
@Add0w 2 жыл бұрын
thanks for that tip.
@CoderDave
@CoderDave 2 жыл бұрын
You’re very welcome 🙃
@sugrivlodhi2607
@sugrivlodhi2607 2 жыл бұрын
thanks
@CoderDave
@CoderDave 2 жыл бұрын
You're welcome!
@SiphoMkhwanazi
@SiphoMkhwanazi Жыл бұрын
Lovely bro..
@CoderDave
@CoderDave Жыл бұрын
Glad you liked it!
@monoham1
@monoham1 Жыл бұрын
why are you commenting on invididual lines of code? I googled for "how comment on a branch" why are you talking about pull requests?
@CoderDave
@CoderDave Жыл бұрын
I don't know why Google showed you my content... but on a video titled "How to Review a Pull Request" you commenting "Why are you talking about Pull Requests" makes me think that perhaps it is not Google's fault...
@LifeWithRilla
@LifeWithRilla Жыл бұрын
LGTM
@CoderDave
@CoderDave Жыл бұрын
yeah, something like that ;)
@FoxyOfJungle
@FoxyOfJungle Жыл бұрын
Thanks for the video! Well explained.
@CoderDave
@CoderDave Жыл бұрын
Glad to know you found it helpful 😀
@voinywolnyprod3046
@voinywolnyprod3046 2 жыл бұрын
Great explanation! Thank you!
@CoderDave
@CoderDave 2 жыл бұрын
You’re welcome, and thanks for the comment ☺️
@box4aza
@box4aza 6 ай бұрын
Thanks!
@Rashilamba-iz4ii
@Rashilamba-iz4ii Жыл бұрын
Thanks
@CoderDave
@CoderDave Жыл бұрын
You’re welcome 😀
How to Review a Pull Request Like a Senior Developer
15:20
Matt Stauffer
Рет қаралды 25 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 43 МЛН
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 143 МЛН
Introducing Replit Assistant
2:54
Replit
Рет қаралды 3,1 М.
Junior Developer Sent Me A PR For Review
17:26
Amigoscode
Рет қаралды 170 М.
Use GitHub like a PRO! - 8 secrets, tips and tricks
11:55
CoderDave
Рет қаралды 21 М.
Why France’s government just collapsed | About That
8:56
CBC News
Рет қаралды 809 М.
What is a Pull Request, and How Do I Write Great Pull Requests?
18:13
Matt Stauffer
Рет қаралды 4,8 М.
Code Review Best Practices For Software Engineers
8:14
Tom Baranowicz
Рет қаралды 17 М.
What is a pull request?
8:13
Codecademy
Рет қаралды 146 М.
GitHub Forks and Pull Requests | Step by Step
12:23
Wes Doyle
Рет қаралды 85 М.
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 43 МЛН