# Changing Git URL affects "Manual Poll URL"

**URL:** <https://www.finalbuilder.com/forums/t/changing-git-url-affects-manual-poll-url/6726>\
**Category:** Feature Requests\
**Tags:** implemented\
**Created:** [February 24, 2020, 3:59pm UTC](https://www.finalbuilder.com/forums/t/changing-git-url-affects-manual-poll-url/6726 "2020-02-24T15:59:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![sa\_thomaslohrum](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/ecd19e/32.png) [@sa\_thomaslohrum](https://www.finalbuilder.com/forums/u/sa_thomaslohrum)\
**Post date:** [February 24, 2020, 3:59pm UTC](https://www.finalbuilder.com/forums/t/changing-git-url-affects-manual-poll-url/6726/1 "2020-02-24T15:59:01Z")

</div>

Hi,

we are moving our TFS Git Hosting from http to https. Only the protocol and port of the URL will change. For example [http://tfs.mydomain.de:5463/collection/project/\_git/repo](http://tfs.mydomain.de:5463/collection/project/_git/repo) will move to [https://tfs.mydomain.de/collection/project/\_git/repo](https://tfs.mydomain.de/collection/project/_git/repo).

I did a test, which gave me the following results:

- associated changesets are still there 🙂
- builds will run fine 🙂

However, a new value for “Manual Poll URL” is generated. This will make all associated TFS WebHooks become invalid. ☹

If the path to the repo is actually the same, because only the protocol/port changes, the configuration should not be changed. This should also avoid the recreation of ContinuaCI’s repo cache, which is unnecessary. This has been discussed before: [How to change URL to git repository](https://www.finalbuilder.com/forums/t/how-to-change-url-to-git-repository/5457)

> [@How to change URL to git repository](https://www.finalbuilder.com/forums/t/how-to-change-url-to-git-repository/5457/5):
>
> We’ll look into whether we can keep the same repository if it’s only the protocol part of the url that has changed.

Thanks,

Thomas

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [February 25, 2020, 6:29am UTC](https://www.finalbuilder.com/forums/t/changing-git-url-affects-manual-poll-url/6726/2 "2020-02-25T06:29:35Z")

</div>

Hi Thomas,

Thanks for your request. Scheme and port changes to repository URLs will no longer cause the repository to be recreated in the next version.

---

<div class="post-metadata">

**Author:** ![sa\_thomaslohrum](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/ecd19e/32.png) [@sa\_thomaslohrum](https://www.finalbuilder.com/forums/u/sa_thomaslohrum)\
**Post date:** [February 25, 2020, 7:06am UTC](https://www.finalbuilder.com/forums/t/changing-git-url-affects-manual-poll-url/6726/3 "2020-02-25T07:06:43Z")

</div>

Superb! Thanks a lot! 🙂

---

<div class="post-metadata">

**Author:** ![sa\_thomaslohrum](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/ecd19e/32.png) [@sa\_thomaslohrum](https://www.finalbuilder.com/forums/u/sa_thomaslohrum)\
**Post date:** [February 25, 2020, 1:26pm UTC](https://www.finalbuilder.com/forums/t/changing-git-url-affects-manual-poll-url/6726/4 "2020-02-25T13:26:45Z")

</div>

Hi Dave,

the move over to https will affect submodules referenced by “.gitmodules” also. Is there an impact on ContinuaCI’s handling?

Thomas

---

<div class="post-metadata">

**Author:** ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)\
**Post date:** [February 25, 2020, 11:40pm UTC](https://www.finalbuilder.com/forums/t/changing-git-url-affects-manual-poll-url/6726/5 "2020-02-25T23:40:16Z")

</div>

The repository cache will still be reset when only the scheme (or port) is changed. This cleans the repository cache working folder and then clones the repository, so files such as `.gitmodules` will be re-fetched, therefore Continua CI’s handling should be the same as with a new repository.

The difference is that the repository and changesets in the database will now remain intact, instead of being recreated.

---

<div class="post-metadata">

**Author:** ![sa\_thomaslohrum](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/ecd19e/32.png) [@sa\_thomaslohrum](https://www.finalbuilder.com/forums/u/sa_thomaslohrum)\
**Post date:** [February 26, 2020, 8:23am UTC](https://www.finalbuilder.com/forums/t/changing-git-url-affects-manual-poll-url/6726/6 "2020-02-26T08:23:09Z")

</div>

Thank’s a lot for clarifying this. That sounds reasonable.

---

<div class="post-metadata">

**Author:** ![sa\_thomaslohrum](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/ecd19e/32.png) [@sa\_thomaslohrum](https://www.finalbuilder.com/forums/u/sa_thomaslohrum)\
**Post date:** [March 2, 2020, 8:49am UTC](https://www.finalbuilder.com/forums/t/changing-git-url-affects-manual-poll-url/6726/7 "2020-03-02T08:49:57Z")

</div>

> [@Sparky](#):
>
> Thanks for your request. Scheme and port changes to repository URLs will no longer cause the repository to be recreated in the next version.

Released with Version 1.9.1.607. Runs fine. Thank you!
