In the SS above, the git status command indicates that there are changes in a couple of files. I issued git add * and git commit -m"" commands which appear not to have worked as shown by the last git status issued after the commit shows files with changes.
I don’t see you using git add at all after you see that you have untracked files with git status
try using git add
alternatively you can avoid using git add and you can use git commit with -a flag: git commit -a -m "..."
if you read the failure message after you use git commit it’s saying you must use git add or git commit -a, and you haven’t done that in the screenshot
Next, I went to git bash where I could see, after a dir that I was in the root folder (a-projects) with subfolders (BiographyPage, ContainerTesting, DataEntry, HomePage, LineagePage, NavigationTestMenu).
Next, I did the git add .git commit -m "Trying to get . . . " followed by git status, per the above SS which still shows "on branch master Changes not staged for commit.
I’m pretty sure I’m in the correct dir in git bash, but I can’t be sure because the dir command only shows the root directory and when I try to change it to include root and subfolder I get a message saying the subfolder (BiographyPage) doesn’t exist but the SS clearly shows that it does. Why would bash give that message? Is the current dir incorrect and causing the problem? If so, what command do I need to enter? I’ve used cd g:\a-projects\BiographyPage and been told the path doesn’t exist.
I then went back to the Windows PowerShell (no bash) and the process completed. Files in both subfolders were added and committed with comments.
Apparently there is some difference in how the PowerShell and bash terminal commands work that I don’t know about or understand.