The File Status Lifecycle

Jorge Escobar
A free video tutorial from Jorge Escobar
Technologist, entrepreneur and open source fanatic
4.1 instructor rating • 7 courses • 10,000 students

Lecture description

If there is one fundamental concept that you need to understand is how Git manages its files and the stages they go through as you work on them. This “movement” between stages is called the _File Status Lifecycle_ and here’s how it works.

Learn more from the full course

Essential Git - All You Need to Know to Use Git Effectively

Why spend hours learning all Git and Github? Learn the parts professional developers use and get on with your coding

01:21:50 of on-demand video • Updated December 2017

  • You will be able to start a Git repository from an existing project or clone a project hosted on the Internet.
  • You will become knowledgeable with the Github portal and how to use it professionally.
  • You will obtain a fundamental understanding of how to manage remote repositories.
  • You will learn the theory of and why branches are important.
  • You will participate in a Git collaborative project with other developers.
English [Auto] If there's one fundamental concept that you need to understand is how get manages its files and the stages they go through as you work on them. This movement between stages is called a file status lifecycle and here's how it works. As you can see here there are four faces. A file can go through when they are contained in a directory Manics by get depending on the work you're doing on them. The files can go through each of these faces many times when a file is in one of these stages. We say it's in a specific status. Let's review each status. When you first create a file in a folder the file is assigned and on tracked status. This means that good is not actively watching this file and he will be ignored if any changes occur to it. There are some files that we want to leave them tracked in a project for example temporary files or setting files. We can still get to ignore specific files or file patterns using a special file called good ignore which we will look at later in the course when a file is added to the repository. It will enter a tracked status from this point on. And until you change your status to untracked good we'll be watching this file actively and any changes you make to it will be noted that tracked files or changes is marked by good to be on a modified status. This means that the file has pending charges that need to be completed at some point in a way this is either an unstable or dirty state because at some point the file changes need to be completed and moved to the next phase a file is on a stage that is when the work has been completed and it is ready to be included on the next snapshot that will be taken off that project. These snapshots are called comments.