Azure / Azure/azure-sdk-tools

[Typespec-Project-sync.ps1] Support custom remote host

Open
#5,933 1 comment 0 reactions 1 assignee Claimed by @pshao25 View on GitHub
TypeSpec
Dominant language
C#
Stars
135
Forks
260
Avg merge
3d 1h
Merged PRs (30d)
144

Description

I found a problem when multiple git SSH configurations are setup. Take as example the following config

![372e64e7-98db-4cd3-98fe-e63593994d84](https://user-images.githubusercontent.com/21109913/230503807-2e3e6b33-bf53-4032-8d4a-c5ccb19889b9.jpg)

The script would fail with

> throw "Unknown git remote format found: $remote"

Ideally, we should be able to support custom hosts or at least take custom host as a parameter.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.