DEV Community

Cover image for Learn how to use Git and GitHub in a team like a pro (part 2)

Learn how to use Git and GitHub in a team like a pro (part 2)

Damian Demasi on November 22, 2021

In the previous part of this tutorial, we learned how Harry and Hermione decided to build a SaaS app to allow people to build their own potions onl...
Collapse
 
thehansguy profile image
Hans Mills •

Priceless!! Well written.

Collapse
 
colocodes profile image
Damian Demasi •

Thanks!

Collapse
 
chinonsoike profile image
Chinonso Ikewelugo • • Edited

I couldn't comment on the one in freecodecamp, so I came to look for this one. This really helped me. Thanks a lot!

Collapse
 
colocodes profile image
Damian Demasi •

Thanks for your kind words! I'm glad you find it helpful!

Collapse
 
pranupranav97 profile image
Pranu Pranav •

It is not a good approach to git add . after making modifications as per git review. Just add the file that have changed.

Collapse
 
colocodes profile image
Damian Demasi •

Thanks for the feedback!
I would use git add -A instead, now that I know a bit more about it. I'll update this article.

Collapse
 
pranupranav97 profile image
Pranu Pranav •

Just use git add path/file_name.

Collapse
 
rajamuhammadasher profile image
Raja Muhammad Asher •

Thank you Damian. This should be the part of onboarding process for new developers joining the team.

Collapse
 
colocodes profile image
Damian Demasi •

Thanks Raja. That’s a good idea!

Collapse
 
holiq profile image
Holiq Ibrahim •

Very good tutorial, can you make a best practice tutorial for using branches?

Collapse
 
colocodes profile image
Damian Demasi •

I'm glad you like it! I might research and write something about branches best practices in the future.

Collapse
 
beckie profile image
Beckie •

Using familiar characters and a relatable narrative, this is a great way to teach beginners. Well done!

Collapse
 
anilsirvi profile image
Anil M Sirvi •

First of all thank you Damian Demasi for this easy tutorial for beginners. It really helpful to fresher who are new to corporate and working with team