scripts
scripts copied to clipboard
git-submodule-rewrite: fails if remote is not called "origin"
If the remote of the main repo is not called "origin", then the script fails with
dirname: missing operand
Try 'dirname --help' for more information.
/path/to/git-submodule-rewrite: line 78: $2: unbound variable
Error: Could not determine the remote origin for this superproject: