Skip to content

Instantly share code, notes, and snippets.

@andresvia
Created February 15, 2015 04:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andresvia/ca8f2429b43f84f2abd2 to your computer and use it in GitHub Desktop.
Save andresvia/ca8f2429b43f84f2abd2 to your computer and use it in GitHub Desktop.
ssh-agent.sh
#!/bin/bash -eu
eval "$(ssh-agent -s)"
trap "ssh-agent -k" EXIT
pushd /var/www/montogeek/laravel/docs
git submodule update --remote --merge
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment