# git submodule URL change

**URL:** <https://community.zeek.org/t/git-submodule-url-change/5508>\
**Category:** Zeek\
**Created:** [October 29, 2018, 7:26pm UTC](https://community.zeek.org/t/git-submodule-url-change/5508 "2018-10-29T19:26:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jon\_Siwek](https://avatars.discourse-cdn.com/v4/letter/j/71c47a/32.png) [@Jon\_Siwek](https://community.zeek.org/u/Jon_Siwek)\
**Post date:** [October 29, 2018, 7:26pm UTC](https://community.zeek.org/t/git-submodule-url-change/5508/1 "2018-10-29T19:26:37Z")

</div>

FYI if you have an existing Bro git repo clone and want to update/pull  
the master branch and all submodules recursively, it will require  
syncing one time:

&nbsp;&nbsp;git submodule sync --recursive

That will update the URL for a git submodule that just changed.  
Afterwards, the usual update command will work:

&nbsp;&nbsp;git submodule update --recursive --init

New git clones Just Work.

- Jon

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:46pm UTC](https://community.zeek.org/t/git-submodule-url-change/5508/2 "2022-05-06T15:46:09Z")

</div>


