SAGARFIVE

1. Introduction

2. Git Basics

3.  Git Terminology

4.  Git Branching

5.  Git - Github

6.  Git Add (Git staging)

7.  Git Commit

8.  Github Advanced

9.  Git Remote

6.1 Git Add

  • Working directory contains .git folder, we can add project files,folders inside working directory
  • Even after adding the files, git won’t track the changes of files
  • To Enable file tracking  we need to add the files to staging area using this command

To add one file at a timeGit add <file name>
To add multiple files and foldersgit add <file1> <file2> <folder>
To add all files and folders at a timegit add .