git-url-sub

Recursively substitute remote URLs for multiple Git repositories

brewmacoslinux
Try with needOr install directly
Source

About

Recursively substitute remote URLs for multiple repos

Commands

git-url-sub

Examples

Replace all GitHub SSH URLs with HTTPS URLs in current directory and subdirectories$ git-url-sub 'git@github.com:' 'https://github.com/'
Update multiple repository URLs from old domain to new domain recursively$ git-url-sub 'oldomain.com' 'newdomain.com'
Change git protocol from SSH to HTTPS for all repos in a directory tree$ git-url-sub 'ssh://git@' 'https://'