Learn Git Essentials 9: Head & Detached Head

preview_player
Показать описание
If you have worked with git, you might have come across a message saying 'head is now in a detached state'. Well, this happens particularly when you checkout a commit instead of a branch. In this video, we will cover in detail what exactly a head is and what is the detached head scenario.

Head is like a pointer which points to the most recent commit made (or does it?). That's why whenever you type git log and besides your most recent commit, you will see 'head'.
Now, detached head is more of a scenario when you checkout a commit instead of a branch and in this video, we will take a deep dive into this concept ,which many beginners and intermediates may not even know about!

Enjoy the video.

____________________

Hmm, I wonder where these links takes us :

____________________

ZBunker is a community that is run by a bunch of university students with strong grasp on computer science fundamentals.
The channel will walk you through some of the popular programming languages and how you can develop a skill set in this tech domain.

We strive to provide free and quality education for all. We firmly believe that open source is the way forward. So, by making these videos, we are encouraging and empowering you to do open source contributions and give back to the community.

We are learners. We are coders. Let's make an impact.

____________ WE NEED YOUR SUPPORT ______________

We strive to make education free 4 all. We would love to share this to as many audiences as possible. This won't be possible without your support. So, if you liked our videos, kindly consider subscribing to our channel.

Support us on:

Drop us a Feedback:
Рекомендации по теме
Комментарии
Автор

I'm new to git and having a hard time getting my head around the topic, your explanations are sooo helpful, both verbally and visually. Your wit even made me laugh, omg couldn't believe I laughed while watching a tutorial about git lol Anyway I just wanted to say thankyou the video is great!!

nhatpham
Автор

Super helpful! I'm off to play with that awesome tool. Thanks!

jnkmal
Автор

explained so good i ended up sharing the entire playlist to my friends ;)

abhishmazumder
Автор

The visualizer is superb. I love it. Im going to use it from now own to see what my actions would look like before i do them

adennis
Автор

The visualizer is superb. simple and effective

keepscribing
Автор

I really love your explanation style, well and precise, thanks.

arifmohiuddin
Автор

Wonderful explanation and visualization.

antonyjoseph
Автор

nicely explained, its more clear now, thank you

alexpiano
Автор

Best video on the topic i have ever watched

harshitjoshi
Автор

Great explanation, finally got this. Thank you!

doronkeeliahu
Автор

damn that's an excellent video and explanation!!! bravo man

expertreviews
Автор

Thanks a lot man, do you have your Git course anywhere ?

helloworld
Автор

HEAD refers to the currently checked-out branch's latest commit!

alexgiggi
Автор

Great video! Can I check, at the 07:15 mark, if I'm using git in terminal, how can I check for the commit ID for these unpushed commits. Usually if I'm on a branch n use git log I can only see commits pushed for that branch. Thx :)

vomitjoe
welcome to shbcf.ru