# How to change URL to git repository

**URL:** https://www.finalbuilder.com/forums/t/how-to-change-url-to-git-repository/5457
**Category:** Discussion
**Created:** [February 11, 2016, 9:44am UTC](https://www.finalbuilder.com/forums/t/how-to-change-url-to-git-repository/5457 "2016-02-11T09:44:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![kay.zumbusch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/cc9497/32.png) [@kay.zumbusch](https://www.finalbuilder.com/forums/u/kay.zumbusch)
#### Post date: [February 11, 2016, 9:44am UTC](https://www.finalbuilder.com/forums/t/how-to-change-url-to-git-repository/5457/1 "2016-02-11T09:44:15Z")

</div>

Hi guys,  
  
our GitHub Enterprise environment was moved from http to https. Is there a way to update the URL for our repositories? Editing a repository does not even show the repository URL.  
  
Regards  
  
Kay Zumbusch

---

<div class="post-metadata">

### Author: ![kay.zumbusch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/cc9497/32.png) [@kay.zumbusch](https://www.finalbuilder.com/forums/u/kay.zumbusch)
#### Post date: [February 11, 2016, 10:22am UTC](https://www.finalbuilder.com/forums/t/how-to-change-url-to-git-repository/5457/2 "2016-02-11T10:22:00Z")

</div>

Nevermind. I managed to change the URL. The web interface failed to show the Git tab in the repository settings.

---

<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 12, 2016, 12:04pm UTC](https://www.finalbuilder.com/forums/t/how-to-change-url-to-git-repository/5457/3 "2016-02-12T12:04:52Z")

</div>

Hi Kay,  
  
It’s odd that the Git tab did not show. Did this start working again after refreshing the browser? If this happens again, can you check if there are any Javascript errors in the web browser console? It’s possible that an error in a previous event or server call has stopped Javascript responding to other events.&nbsp;

---

<div class="post-metadata">

### Author: ![kay.zumbusch](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/cc9497/32.png) [@kay.zumbusch](https://www.finalbuilder.com/forums/u/kay.zumbusch)
#### Post date: [February 17, 2016, 2:38am UTC](https://www.finalbuilder.com/forums/t/how-to-change-url-to-git-repository/5457/4 "2016-02-17T02:38:48Z")

</div>

Hi Dave,  
  
I tried to reproduce the problem in the last couple of days but the git tab was always displayed correctly. I encountered a different problem related to changing the URL.  
  
As I already mentioned I had to update our repositories from http to https. Changing the repository URL creates a copy of the repository and archives the old one. But it seems that the archived repository are still synced. After I changed the URL and the new repository was properly synced I changed the login credentials for the repository which worked as expected. As we access our repositories through a VPN tunnel our repositories are not always accessible and I get error notifications as private messages regarding the repositories that are not accessible. But I get these error messages for archived repositories. The username of the archived repository is included in the error message.  
  
On a side node I’d like to see just changing the protocol of repository just updates the URL and does not create a copy of the repository.

---

<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 18, 2016, 6:41am UTC](https://www.finalbuilder.com/forums/t/how-to-change-url-to-git-repository/5457/5 "2016-02-18T06:41:27Z")

</div>

Hi Kay,  
  
I’ve not been able to reproduce a situation where archive repositories are still checked. Changing the repository url does archive the original repository, but in my tests the repository checker is then removed. Are there any errors in the event log around the time that the url was changed? Maybe a previous error had prevented completion of the archiving code. I have however added an additional check to prevent checkers running for any archived repositories which should stop this happening again. &nbsp;  
  
We’ll look into whether we can keep the same repository if it’s only the protocol part of the url that has changed.
