aharren / LibComponentLogging-Core

A small logging library for Objective-C applications (Mac OS X and iPhone OS/iOS) which provides conditional logging based on log levels and log components. Additionally, different logging strategies can be used, e.g. writing log messages to a file or sending them to the system log, while using the same logging interface.
http://0xc0.de/LibComponentLogging
110 stars 11 forks source link

fatal: Not a git repository: Pods/LibComponentLogging-pods/configure/../.git/modules/configure #30

Closed adongarwar closed 9 years ago

adongarwar commented 9 years ago

I'm trying to push a project to git. It fails with the error mentioned in title. Terminal logs are as follows.

adongarwar:ios adongarwar$ git init Initialized empty Git repository in /Users/adongarwar/CIS-Git/ios/.git/ adongarwar:ios adongarwar$ git add ios fatal: pathspec 'ios' did not match any files adongarwar:ios adongarwar$ cd .. adongarwar:CIS-Git adongarwar$ git add ios fatal: Not a git repository (or any of the parent directories): .git adongarwar:CIS-Git adongarwar$ cd ios adongarwar:ios adongarwar$ git add . fatal: Not a git repository: Pods/LibComponentLogging-pods/configure/../.git/modules/configure Important point - My Project is in SVN already. I manually copy the project folder to a new folder and then try initialing git.

Thanks in advance.

aharren commented 9 years ago

Please remove the .git folder in Pods/LibComponentLogging-pods/configure/ (Pods/LibComponentLogging-pods/configure/.git). This should do the trick.

aharren commented 9 years ago

https://github.com/CocoaPods/CocoaPods/issues/3997

aharren commented 9 years ago

fixes: https://github.com/CocoaPods/Specs/pull/13385

aharren commented 9 years ago

Updated pod specs are merged into CocoaPods/Specs master.

You can update your pods in your project, it should remove the unwanted .git folder.

adongarwar commented 9 years ago

Removing the .git folder worked. Thanks for your help.