Skip to content

Instantly share code, notes, and snippets.

@youandhubris
Last active April 4, 2018 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save youandhubris/db754b592347d41d80be319fb4afa75f to your computer and use it in GitHub Desktop.
Save youandhubris/db754b592347d41d80be319fb4afa75f to your computer and use it in GitHub Desktop.
Configure submodule to be able to commit and update from another repository

On the submodule repository:

git config receive.denyCurrentBranch updateInstead

Reference

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