Skip to content

Instantly share code, notes, and snippets.

@boucher
Created June 21, 2011 21:44
Show Gist options
  • Save boucher/1038980 to your computer and use it in GitHub Desktop.
Save boucher/1038980 to your computer and use it in GitHub Desktop.
Net::SSH::CommandError: stdout: "", stderr: "Too many arguments.\n\nusage: git clone [options] [--] <repo> [<dir>]\n\n -q, --quiet be quiet\n -v, --verbose be verbose\n --progress force progress reporting\n -n, --no-checkout don't create a checkout\n --bare create a bare repository\n --mirror create a mirror repository (implies bare)\n -l, --local to clone from a local repository\n --no-hardlinks don't use local hardlinks, always copy\n -s, --shared setup as shared repository\n --recursive initialize submodules in the clone\n --template <path> path the template repository\n --reference <repo> reference repository\n -o, --origin <branch>\n use <branch> instead of 'origin' to track upstream\n -b, --branch <branch>\n checkout <branch> instead of the remote's HEAD\n -u, --upload-pack <path>\n path to git-upload-pack on the remote\n --depth <depth> create a shallow clone of that depth\n\n"
from ./provision/milano2.rb:36:in `e!'
from /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.4/lib/net/ssh/connection/channel.rb:550:in `call'
from /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.4/lib/net/ssh/connection/channel.rb:550:in `do_request'
from /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:551:in `channel_request'
from /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:456:in `send'
from /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:456:in `dispatch_incoming_packets'
from /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:213:in `preprocess'
from /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:197:in `process'
from /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:161:in `loop'
from /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:161:in `loop_forever'
from /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.4/lib/net/ssh/connection/session.rb:161:in `loop'
from /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.4/lib/net/ssh/connection/channel.rb:269:in `wait'
from ./provision/milano2.rb:41:in `e!'
from ./provision/milano2.rb:19:in `r!'
from ./provision/milano2.rb:59:in `r!'
from ./provision/milano2.rb:484:in `remote_checkout'
from ./provision/milano2.rb:499:in `checkout'
from ./provision/milano2.rb:533:in `deploy'
from ./provision/milano2.rb:83:in `ssh'
from /Library/Ruby/Gems/1.8/gems/net-ssh-2.1.4/lib/net/ssh.rb:190:in `start'
from ./provision/milano2.rb:81:in `ssh'
from ./provision/milano2.rb:507:in `deploy'
from ./provision/milano2.rb:158:in `rollout'
from ./provision/milano2.rb:156:in `each'
from ./provision/milano2.rb:156:in `rollout'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment