From the course: Complete Guide to Git

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

Your first commit

Your first commit - Git Tutorial

From the course: Complete Guide to Git

Your first commit

- [Instructor] In this movie, we'll learn how to store a set of changes in Git. When we store changes in Git, we call it committing a set of changes. Commit is used as both a verb and as a noun, you commit changes, a set of changes is a commit, in fact, a commit is going to be the fundamental unit we're going to use when working with Git. There are three parts to making a commit, you make the changes to the files, you add those changes to a set, and then you commit that set of changes to the repository with a description. We will repeat these basic steps over and over and over during our project's development. The first step is to make some changes, I'm going to open a new file in my source code editor, I'm using Visual Studio Code, but you could use any software that's designed for editing source code, I'll do that from the File menu, I'll choose New Text File and I'll type, "This is my first file." Now I'll save that file inside my project directory and I'll call it first_file.txt…

Contents