Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error : Fatal: Not a git repository (or any of the parent directories): .git

Tags:

ios

xcode4

When I try to put images into the Resources folder of my project, I got this message :

fatal: Not a git repository (or any of the parent directories): .git

How can I fix that?

like image 737
Malloc Avatar asked Sep 12 '11 13:09

Malloc


2 Answers

Had the same problem. I copied a project then tried to delete files.

If you want to be able to edit the project, type git init folder in the terminal. This will re-initialize the git in your folder.

like image 155
Jonats Avatar answered Sep 24 '22 22:09

Jonats


Go to Organizer->Repositories and remove the Corresponding repository.

like image 26
Tarek Hallak Avatar answered Sep 22 '22 22:09

Tarek Hallak