Skip to content

Instantly share code, notes, and snippets.

@mariadanieldeepak
Created November 20, 2019 02:24
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariadanieldeepak/a8bac3c92cf756ddec16284859614074 to your computer and use it in GitHub Desktop.
Save mariadanieldeepak/a8bac3c92cf756ddec16284859614074 to your computer and use it in GitHub Desktop.
Checkout Tag On Git Submodules
# List available Tags
git tag
# Checkout a tag in the main repo.
git checkout <tagname>
# Initialize any uninitialized submodule and recursivesly update the Submodules.
git submodule update --init --recursive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment