Skip to content

Instantly share code, notes, and snippets.

@masuidrive
Created September 23, 2012 09:37
Show Gist options
  • Save masuidrive/3769505 to your computer and use it in GitHub Desktop.
Save masuidrive/3769505 to your computer and use it in GitHub Desktop.
update local repo
#!/bin/sh
git pull origin master
git submodule foreach 'git checkout master; git pull origin master'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment