git add readme2 . . . not functioning

Following the instructions at:
http://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository

After:
PS C:\users\mike\gitcode\gitfundamentals> echo 'My Project' >Readme2
PS C:\users\mike\gitcode\gitfundamentals> git add readme2

lines, I am checking the status as shown below, I am getting:
PS C:\users\mike\gitcode\gitfundamentals> git status
On branch master

Initial commit

Untracked files:
  (use "git add <file>..." to include in what will be committed)

	Readme.txt
	Readme2

nothing added to commit but untracked files present (use "git add" to track)

Open in new window


Instead, I was expecting something like:
PS C:\users\mike\gitcode\gitfundamentals> git status
On branch master
Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

    new file:   README

Open in new window


Question: Why my code "PS C:\users\mike\gitcode\gitfundamentals> git add readme2" is not working?

The reason I am saying it is not working is because the > git status command after that seemingly is not confirming the add process.
LVL 34
Mike EghtebasDatabase and Application DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mike EghtebasDatabase and Application DeveloperAuthor Commented:
PS C:\users\mike\gitcode\gitfundamentals> git add -A

worked okay. I didn't want to delete this post in case someone may want additional information to this post.

Mike
0
mccarlIT Business Systems Analyst / Software DeveloperCommented:
It could be a case-sensitivity issue. From your "echo" command and from the git status, you have a Readme2 file but your "git add" line is trying to add readme2. Try "git add Readme2" and see how you go.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Mike EghtebasDatabase and Application DeveloperAuthor Commented:
Very good point. This must have been the reason. Thanks.

Could you also take a look at this new question: http://www.experts-exchange.com/Programming/Languages/Scripting/Powershell/Q_28625067.html
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.