Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m

Next lesson playing in 5 seconds

Cancel

Free Preview: Git Basics: States

Introduction

00:21
  • Overview
  • Transcript

Git has become the most widely used system for version control and sharing code. If you want to help build open-source software, or if you want to work on a professional team, understanding Git is a must.

In this animated Coffee Break Course, Envato Tuts+ instructor Ed Wassermann will show you the various states that files can have in a Git repo: ignored, untracked, unmodified, modified, staged, and committed. Once you understand the flow between all these states, you'll have an easier time working effectively with Git.

Why not check out our Introduction to Git and GitHub or watch the other Coffee Break Courses in this series:

1. Git Basics: States

1.1 Introduction

Understanding states in Git unlocks the whole magical thing. Any file can be broken down into one of four hats, committed, tracked, untracked, and ignored files. You can view these various states of files as successively better states, better version of files, before becoming Git objects in your in your .git directory.