Learn how to add one or more new files to the repository.
- [Instructor] In this movie, we'll learn … to add files to a Git repository. … We performed this step once already, … but now that we have a better understanding … of the Git architecture, we can get some new insights. … So you'll remember that we already started … a Git project and we put a single first file inside there. … And in my command line I've navigated to that directory. … Let's go ahead and learn a new Git command, … which is git space status. … Any time we're inside a Git project … and we type git status, it'll let us know … the status of things. … Right now, we're on the branch master, … that's always by default the main branch that we're on, … and there's nothing to commit. … The working tree is clean, we now know what a tree is … and we know what our working directory is, right, … so the working tree is that directory … of things that we're working, that Git is looking at, … but are not part of the repository, … and the working tree matches what's in the repository. … Let's create some more files. …
- Exploring the history of version control
- Installing Git on Mac, Windows, and Linux
- Initializing a repository
- Writing useful commit messages
- The Git three-tree architecture
- Tracking when files are added, edited, deleted, or moved
- Viewing change sets and comparing versions
- Undoing changes and retrieving previous versions
- Ignoring changes to select files
Skill Level Beginner
1. What Is Git?
2. Install Git
3. Getting Started
4. Git Concepts and Architecture
5. Make Changes to Files
6. Use Git with a Real Project
7. Undo Changes
8. Ignore Files
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.