When a new folder is added to a local Git repo, "git status" only shows the folder name:
C:\repo>git status
On branch bug/jdnark/1234408-Fix-Automation-Unzip
Untracked files:
(use "git add <file>..." to include in what will be committed)
CICDAutomation/
To see all the files that are untracked, and not just the folder, use the following:
git status --untracked-files=all
An example of the files that are untracked is as follows:
C:\repo>git status --untracked-files=all
On branch bug/jdnark/1234408-Fix-Automation-Unzip
Untracked files:
(use "git add <file>..." to include in what will be committed)
Automation/.gitignore
Automation/Readme.md
Automation/get_logs.py
nothing added to commit but untracked files present (use "git add" to track)
No comments :
Post a Comment