Basic Git Workflow
An introduction to Git and a few of its core features
StartKey Concepts
Review core concepts you need to learn to master this subject
Checking the Status of a Git Repository
Initializing a Git Repository
Displaying Differences with Git Diff
Showing Git Commit Logs
Committing Your Code
Git
Adding Changes to the Staging Area
Git Project Workflow
Checking the Status of a Git Repository
Checking the Status of a Git Repository
The git status
command is used within a Git repository to its current status including the current commit, any modified files, and any new files not being tracked by Git.
The output of git status
can vary widely, and it often includes helpful messages to direct the user to manage their repository. For example, git status
will show the user the files they would commit by running git commit
and the files they could commit by running git add
before running git commit
.
- 3Nice! We have a Git project. A Git project can be thought of as having three parts: 1. A Working Directory: where you’ll be doing all the work: creating, editing, deleting and organizing files 2…
- 4As you write the screenplay, you will be changing the contents of the working directory. You can check the status of those changes with: git status
- 7A commit is the last step in our Git workflow. A commit permanently stores changes from the staging area inside the repository. git commit is the command we’ll do next. However, one more bit of …
- 9You have now been introduced to the fundamental Git workflow. You learned a lot! Let’s take a moment to generalize: * Git is the industry-standard version control system for web developers * Use Gi…
What you'll create
Portfolio projects that showcase your new skills
How you'll master it
Stress-test your knowledge with quizzes that help commit syntax to memory