Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Why I got a fetal error of not a git repository when I checked for the status of my repo

I tried to run this command in my project directory
$ git status
but I got an error message indicating that
fatal: not a git repository (or any of the parent directories): .git

I have also made sure that I am in the right directory by using ‘pwd’ but it didn’t work.
Please help me in this I am using github for the first time.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Try running this command as you may have forgotten to initialize the repository as a Git repository

git init
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading