6 Add files in Git
Git Basics: Adding to Staging, Committing & Viewing History In this video, we take the next step in our Git journey — moving files into the staging area, committing them with meaningful messages, and viewing commit history. You’ll learn multiple ways to add and remove files from the staging area, why commit messages matter, and how to see details of your past commits. This tutorial is essential for anyone starting with Git and wanting to understand the full workflow from working directory → staging → committed files. 📌 What You’ll Learn in This Video 0:00 – Welcome & Intro to Staging Files 0:05 – Adding All Files with `git add -A` 0:08 – Adding Specific Files Individually (`git add filename`) 0:22 – Checking Tracked & Untracked Files with `git status` 0:38 – Adding .gitignore to Staging 0:44 – Adding All Remaining Files 0:49 – Verifying All Files Are Staged 0:56 – Removing a File from Staging with `git reset filename` 1:15 – Resetting All Staged Files with `git reset` 1:28 – Adding Files Back to Staging 1:40 – Committing Files with `git commit -m "message"` 1:57 – Importance of Descriptive Commit Messages 2:23 – Checking Your Work: Clean Working Tree 2:28 – Viewing Commit History with `git log` 2:47 – Recap of Adding, Resetting, Committing & Checking Logs Related Links: Course: https://www.becloudready.com/devops-launchpad Land a DevOps Job in 60 Days: https://www.becloudready.com/post/devops-launchpad-land-a-devops-job-in-60-days Subscribe for more DevOps and software development tutorials: https://www.youtube.com/@UCmtepvrw2GfjB6JbyxpIp0A Follow For More on Social Media: Instagram: https://www.instagram.com/becloudready Facebook: https://www.facebook.com/becloudready/ X: https://x.com/becloudready LinkedIn: https://www.linkedin.com/company/becloudready/
Download
0 formatsNo download links available.