Skip to content

Instantly share code, notes, and snippets.

@loganhasson
Created August 17, 2014 07:08
Show Gist options
  • Save loganhasson/5db07d7b5671a9bc5fef to your computer and use it in GitHub Desktop.
Save loganhasson/5db07d7b5671a9bc5fef to your computer and use it in GitHub Desktop.
#!/bin/bash
/usr/bin/expect <<EOD
spawn git clone $REPO_URL $REPO_NAME
expect -re "(continue)"
send "yes\n"
expect eof
EOD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment