Join Our Community!

Connect with fellow tech enthusiasts on "The Weaver Birds" community. Share ideas, ask questions, and collaborate with others passionate about technology!

Join Now

Bring Us to Your Campus!

Interested in hosting a workshop? Contact us if your university wants to invite Engineeous to conduct a session on this topic or any other tech subject!

Request a Workshop

Let’s Work Together!

Looking for expert help? If you want to hire Engineeous for your next project, reach out to us today to discuss how we can collaborate!

Get in Touch

Check Status

Now that you've set up your local Git repository, it's time to start making changes and saving those changes as snapshots in your repository. Each time you reach a point where your project is in a good state, you can "commit" these changes to record them.

Tracked vs. Untracked Files

In Git, files in your working directory can be in one of two states:

  • Tracked: Files that Git is keeping an eye on. These files are part of the repository and are being monitored for changes.
  • Untracked: Files that Git doesn't know about yet. These files are not part of the repository until you tell Git to track them.

Check the Status of Your Files

You can check the status of your files using the `git status` command. This command will show you which files are tracked, which are untracked, and what changes have been made.

To check the status:

  1. Make sure you're inside your project folder ("university").
  2. Type the following command:

    git status
  3. You should see something like this:

    On branch master
    
    No commits yet
    
    Untracked files:
      (use "git add ..." to include in what will be committed)
        index.html
    
    nothing added to commit but untracked files present (use "git add" to track)

This tells you a few important things:

  • On branch master: You're working on the "master" branch, which is the main line of development in your repository.
  • No commits yet: You haven't saved any snapshots (commits) of your project yet.
  • Untracked files: Your index.html file is untracked, meaning Git hasn't started keeping an eye on it.

What's Next?

Now that you know the status of your files, the next step is to tell Git to start tracking your `index.html` file. This way, you can commit it and start saving snapshots of your work!

Git commit

Subscribe to our newsletter

We will make sure that you never miss anything again! Stay rest assured about our emails as we do not spam your inbox.