Skip to content

Instantly share code, notes, and snippets.

@AlexanderRD
Last active August 29, 2015 14:04
Show Gist options
  • Save AlexanderRD/0819e6bf6913ef1df09f to your computer and use it in GitHub Desktop.
Save AlexanderRD/0819e6bf6913ef1df09f to your computer and use it in GitHub Desktop.
Updating submodules within a local git clone
#!/bin/bash
# Exists to fully update the git repo that you are sitting in...
git pull && git submodule init && git submodule update && git submodule status
@AlexanderRD
Copy link
Author

Run above command in the master branch.

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