Skip to content

Instantly share code, notes, and snippets.

@edsilv
Created August 12, 2014 18:15
Show Gist options
  • Save edsilv/afa8b7d6764944116985 to your computer and use it in GitHub Desktop.
Save edsilv/afa8b7d6764944116985 to your computer and use it in GitHub Desktop.
keep a submodule's contents after merging an upstream repo with a submodule of the same name
git reset HEAD mymodule
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment