Up and Running with Git Transcripts
Chapter: The '6' core git operations
Lecture: Status

Login or purchase this course to watch this video and the rest of the course contents.
0:00 The next core idea or command is git status over here on our computer.
0:06 We've got our repository, we want to know what files have we changed.
0:11 What files could be added that are just hanging around.
0:14 What have we deleted all those kinds of things.
0:16 Basically. What is the state of our repository of uncommitted work locally.
0:24 So that's where status comes in.
0:26 We can go over and if we have these three files we could type git status
0:30 and you would see that on the command prompt is going to show us like,
0:33 oh, file two is actually new and file three is untracked.
0:38 Great. But that's not how we normally see it.
0:40 Normally we're in something like source tree where we have a cool listing that says,
0:45 look here, you have some pending files,
0:48 File two is green with a plus and it's got a check that means it's added
0:52 and ready to be committed. File three as a question mark because it's just completely
0:56 untracked. But if you check that check mark,
0:59 it will add it. We can also see that in PyCharm in the colors
1:03 in the projects and the editors.
1:05 Again, you don't necessarily directly work this most of the time.
1:08 It just happens behind the scenes with the UI tools that we're using.
1:12 It's worth pointing out. This has no relationship to the hosting server if there are
1:19 changes or other things going on that other people have done.
1:22 Maybe unsynced changes. You have stuff you could push or stuff you could pull
1:26 it doesn't address that. This is only about what has happened locally on your copy of the github repository.