1

Is there a way to modify git submodule URLs after setting them initially to local paths after consistent committing on local git submodule? Would this overwrite my other commits?

git submodule add url one

vs

git submodule add localpath two

1 Answer 1

1

If you want to change the URL of any submodule, you use the command:

git submodule set-url <newurl>

You can refer to this for more information on the topic.

Best.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.