Basic Workflow
Status
Command will display the untracked files from the repository. These files can be added to our repository.
git statusAdd File
The git add command is used to add file contents to the Index (Staging Area).
git add
Ex: git add filenamegit add . or git add *git add test.txtCommit
It is used to record the changes in the repository. It is the next command after the git add.
git commitgit commit -m “msg”
Ex: git commit -m “First file”Remove File
git rmgit rm is used to remove a file from a Git repository.
git rm test.txt
git rm -r test.txtLast updated