when ever i am trying to install the pod its showing this type of errors as given below, if anyone have any solution kindly help me. how to solve this type of error.thanks for help in advance?
Apples-MacBook-Pro:~ apple$ cd /Users/apple/Desktop/lkmmlkmk Apples-MacBook-Pro:lkmmlkmk apple$ pod init [!] Existing Podfile found in directory Apples-MacBook-Pro:lkmmlkmk apple$ pod install Setting up CocoaPods master repo fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' $ /usr/bin/git -C /Users/apple/.cocoapods/repos/master fetch origin --progress fatal: 'origin' does not appear to be a git repository fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists. [!] Unable to add a source with url
https://github.com/CocoaPods/Specs.gitnamedmaster-1. You can try adding it manually in~/.cocoapods/reposor viapod repo add.