---
chapter: File lifecycle
layout: slide
title: ''
tags:
- file-lifecycle
---

```bash
# Stage all updated files
$ git add -u [file|pattern]

# Stage all files no matter the state
$ git add -A [file|pattern]

```
