Skip to main content
Source Link
Svish
  • 159.3k
  • 183
  • 479
  • 636

Swap git submodule with own fork

I added a submodule to my git repo like this:

$ git submodule add git://github.com/user/some-library some-library

I've decided I want to create a fork of that library to do some adjustments. How can i swap that submodule so that it points to my own github fork instead?