Unable to Add resume.txt into the staging area


I am trying to add the resume.txt to staging area, I have been typing "git add resume.txt" however i get the following error message:

fatal: Unable to read current working directory: No such
file or directory

Thank you in advance.


That means something like that your current directory doesn't exist (was removed while the shell still had it as its current directory)

try changing directory to .


Thank you I done as you said :
"cd ." then added the file "git add resume.txt" on the following line and it worked.

much appreciated


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.