Git & GitHub Tutorial for Beginners #8 - Branches

preview_player
Показать описание
Hey gang, in this git tutorial I'll introduce you to branching and creating new branches to test out new features on. This way, we're safe from ever messing up our master branch!

----- COURSE LINKS:

---------------------------------------------------------------------------------------------
Related tutorials:

----- NODE.JS TUTORIALS

============== The Net Ninja =====================

================== Social Links ==================

Рекомендации по теме
Комментарии
Автор

This was incredibly clear and concise. Thank you for these.

bytecauldron
Автор

4:00 - Create feature branch from master: git branch new-branch-name
4:24 - To switch to a particular branch: git checkout branch-name
4:35 - Which branch am I on? git branch -a
6:30 - To delete a branch: Checkout any branch except the one you want to delete; git branch -D branch-name
7:25 - How to create new branch and check it out at the same time: git checkout -b new-branch-name

erichepperlewp
Автор

Im new to Git and GitHub, so thanks for the clear and understandable explanation.

Encursed
Автор

*googles git branch tutorial*
*realizes it's net ninja*
*already knows he's gonna be learned hard and learned easy*

Thank you for what you do, Shaun!

paulhitchmough
Автор

4 years later and this is still one of the best git tutorial on youtube

mustyfx
Автор

Amazing tutorial and teaching style. You teach in a tempo that allows to just do the things you do while listening to you in the background even not watching.
Will highly recommend

John-tiiv
Автор

Man your explanations are crystal clear and beginner friendly, greetings from Bangladesh.

md.mehrabhaque
Автор

Thank you so much! This really helped me visualize what was actually happening when a new branch was created.

NeelSandellISAWESOME
Автор

This was SO GOOD! Simple, concise & gives you the exact, practical info you're looking for! Perfection

anjanamaria
Автор

Mate, I saw alot of tutorials about branches and yours is the best by far! Thanks to You, I finally understand what branches are about and I can use them as well.

latestdave
Автор

*Cheatsheet for this video:*
$ git branch my-awesome-branch # create a new branch
$ git checkout my-awesome-branch # switch to a specific branch
$ git branch -a # view all branches
$ git branch -D my-awesome-branch # delete a branch even if it's not fully merged
$ git branch -d my-awesome-branch # delete a branch but only if it's is fully merged
$ git checkout -b my-awesome-branch # create a new branch and switch to it immediately

LeetCodeSimplified
Автор

This guy is a god at teaching. Why don't they hire teachers like you in our colleges TT

munch
Автор

Man you make everything so simple bro. Really appreciate you making this. Best online by far.

lifewithoutbigbrother
Автор

The brevity and clarity on this video is so appreciated! Thank you! You're a legend.

mostidum
Автор

This is an excellent video on branching. Thanks for putting this together so well.

seegerp
Автор

Really good tutorial! I like that you kept open editor on the left

anthonycalo
Автор

Wish I had watched this before. Git is indeed needed, I had a project wherein I would save all the code into another folder and then make changes in case the code dumped. But git makes it a lot more easier to revert your changes in a second

ayushiagarwal
Автор

Incredibly straightforward and well-explained.

renanmendes
Автор

Maaaan ya are great! Perfect work! Your lessons are so simple, thx.

wBacz
Автор

At least on Mac, "git branch" without explicitly including the "-a" flag will still show you all the branches in your repository, as well as the branch that you're on currently on using the color and asterisk approach, as per this video :)

ozzyfromspace