Skip to content

Instantly share code, notes, and snippets.

@KPB3rd
Last active September 8, 2022 20:29
Show Gist options
  • Select an option

  • Save KPB3rd/aefb43bde25123db950552e40774db20 to your computer and use it in GitHub Desktop.

Select an option

Save KPB3rd/aefb43bde25123db950552e40774db20 to your computer and use it in GitHub Desktop.
Update git submodule remotes
find -wholename "*/.git/config" -type f -exec sed -i 's/<insertoldstring>/<insertnewstring/g' {} +
git submodule sync
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment