Git Fundamentals

Level up with "Git Fundamentals"

Access all lessons in this tutorial.

No spam, unsubscribe at any time.

This is a free tutorial

In exchange for your email address, you'll get full access to this and other free Epic Web Dev tutorials.

Why? First and foremost, your inbox allows us to directly communicate about the latest Epic Web Dev material. This includes free tutorials, tips, and periodic update about trends, tools, and happenings in Web Development that I'm excited about.

In addition to the piles of free Epic Web Dev content, you'll get the earliest access and best discounts to the paid courses when they launch.

There won't be any spam, and every email you get will have an unsubscribe link.

If this sounds like a fair trade, let's go!

Current section: Commands 17 exercises
lesson

Git Status and the Hidden .git Directory

git status is a command you'll use all the time when working with Git repositories.

This command will show the current branch you're on, and your commit history.

Since our repository is new, there isn't much to see:

$ git status

On branch main
No commits yet
nothing to commit (create/copy

Subscribe to unlock this lesson.

Transcript

00:00 git status is a command that you will use all the time right now there isn't much to see but there is already a bunch of information here we can see that we're on the main branch there are no commits but we can create some by creating files and using git add to track them now this is powered by our

00:18 hidden dot git directory so what happens if we remove that directory git status no longer works because this is no longer a repository just a folder so let's run git init again inside this directory to get back to where we were

Full Stack Vol 1
You might also like

Full Stack Vol 1

Kent C. Dodds
Kent C. Dodds

A comprehensive guide to full stack development

166 Interactive Exercises ・ Progress Tracking ・ Completion Certificate
Learn more