Skip to content

Instantly share code, notes, and snippets.

@fordnox
Created April 22, 2013 16:57
Show Gist options
  • Save fordnox/5436699 to your computer and use it in GitHub Desktop.
Save fordnox/5436699 to your computer and use it in GitHub Desktop.
sh script to update repository in current folder
#!/bin/sh
git reset --hard HEAD
git pull
git submodule update --init
@fordnox
Copy link
Author

fordnox commented Apr 22, 2013

Run this command:

curl -L http://goo.gl/JRMJS | sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment