Skip to main content

Changing the remote URL for a repository in GitHub Desktop

You can change the remote URL for a repository you're working with in GitHub Desktop. You might do this if the repository has been renamed, or the username or organization that owns the repository has changed.

Platform navigation

  1. Na barra de menus "GitHub Desktop", selecione Repositório e clique em Configurações do repositório... .

    Captura de tela da barra de menus no Mac. No menu suspenso "Repositório" que é aberto, o cursor do mouse está sobre "Configurações do repositório", realçado em azul.

  2. On the Remote pane, under "Primary remote repository", type the desired URL.

  3. Clique em Salvar.

  1. No menu Repositório, clique em Configurações do repositório... .

    Captura de tela da barra de menus "GitHub Desktop" no Windows. No menu suspenso "Repositório" que é aberto, há uma opção rotulada "Configurações do repositório" com o contorno em laranja.

  2. On the Remote pane, under "Primary remote repository", type the desired URL.

  3. Clique em Salvar.