Error on "pod install"
ramunasjurgilas opened this issue · comments
Ramūnas commented
podfile content:
platform :iOS, '7.0'
pod 'Appirater', '>= 2.0.0'
Error:
Analyzing dependencies
Downloading dependencies
Installing Appirater (2.0.4)
[!] Error installing Appirater
[!] /opt/local/bin/git clone https://github.com/arashpayan/appirater.git /Users/ramas/Documents/Development/RoRo/Pods/Appirater --single-branch --depth 1 --branch 2.0.4
error: unknown option `single-branch'
usage: git clone [options] [--] [
]-v, --verbose be more verbose
-q, --quiet be more quiet
--progress force progress reporting
-n, --no-checkout don't create a checkout
--bare create a bare repository
--mirror create a mirror repository (implies bare)
-l, --local to clone from a local repository
--no-hardlinks don't use local hardlinks, always copy
-s, --shared setup as shared repository
--recursive initialize submodules in the clone
--recurse-submodules initialize submodules in the clone
--template <template-directory>
directory from which templates will be used
--reference <repo> reference repository
-o, --origin <name> use <name> instead of 'origin' to track upstream
-b, --branch <branch>
checkout <branch> instead of the remote's HEAD
-u, --upload-pack <path>
path to git-upload-pack on the remote
--depth <depth> create a shallow clone of that depth
--separate-git-dir <gitdir>
separate git dir from working tree
-c, --config <key=value>
set config inside the new repository
Chris McKnight commented
What does git --version
show? You need git 1.7.10 or later.
Ramūnas commented
I have 1.7.9.2. Thanks for answer.