![]() ![]() There can be a few reasons why the error occurs: The fatal: not a git repository error makes it clear that you’re not in a git repository. Why does the “fatal: not a git repository” error occur? Preventing “fatal: not a git repository”Ĭ.To fix “fatal: not a git repository”, try these steps.Why does the “fatal: not a git repository” error occur?.See more details below on the reasons for the fatal: not a git repository error, how to fix it, and our suggestions for preventing this annoying error in the first place. Initialize your repository with git init or by cloning an existing repo. ![]() Check if you mistyped the path to the repo.Make sure you’ve navigated to the right directory (check with ls or dir). ![]() Here are quick steps you can try to fix this error:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |