Hi all,
I'm new to Capistrano and am trying to get things working for the first time.  
Through lots of Googling and the getting started guides on the Capistrano site 
and at GitHub, I've been able to get things partially running, but I need 
assistance with one error that I've been unable to fix.  cap deploy connects to 
my server and can start counting objects in my GitHub repository, but dies with 
an error following that.

Here is the error section - the command being executed results in git-clone 
returning usage information.  From my searching, I've seen reference to 
changing the scm_verbose setting to work around older versions of git that 
don't understand the -q option.  I've tried both true and false - neither seems 
to make a difference.  The below was produced with "set :scm_verbose, true".

  * executing "git clone  --depth 1 [email protected]:xx/xx.git 
/home/xx/xx/releases/20090710165919 && cd /home/xx/xx/releases/20090710165919 
&& git checkout  -b deploy 5b63b1355518f813651e1d6b1ecd2ee5ee9b26fa && rm -Rf 
/home/xx/xx/releases/20090710165919/.git && (echo 
5b63b1355518f813651e1d6b1ecd2ee5ee9b26fa > 
/home/xx/xx/releases/20090710165919/REVISION)"
    servers: ["xx.com"]
Password:
    [xx.com] executing command
 ** [xx.com :: err] Usage: /usr/bin/git-clone [--template=<template_directory>] 
[--use-separate-remote] [--reference <reference-repo>] [--bare] [-l [-s]] [-q] 
[-u <upload-pack>] [--origin <name>] [-n] <repo> [<dir>]
    command finished

FYI: I am using GitHub as my SCM and a private server at DreamHost is the 
target system.  I'm running cap deploy from my Mac OS X dev machine.  Git on 
the server is 1.4.4.4 and I'm using Capistrano 2.5.8 locally.

Here is my git specific config settings from deploy.rb:

set :scm, "git"
set :branch, 'master'
set :repository,  "[email protected]:xx/xx.git"
set :checkout, "export"
set :git_shallow_clone, 1
set :scm_verbose, true

I'd love to get this running and would greatly appreciate any assistance or 
suggestions that the community could offer.

Thanks so much!

Robert Shedd



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.co.uk/group/capistrano?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to