gpt4 book ai didi

Configuring separate ssh and https urls in Gitlens(在Gitens中配置单独的ssh和HTTPS URL)

转载 作者:bug小助手 更新时间:2023-10-25 17:53:58 36 4
gpt4 key购买 nike



I have a repository that I connect to via SSH on one subdomain but the http website is on a separate subdomain. When I copy the URL of a page using Gitlens I get the wrong URL as it is using the SSH subdomain and not the web subdomain. I see that I can use "gitlens.remotes" to configure this but I can't get it to identify my repository and I don't understand whether I need to define all of the "urls" or if there is a shorter way since it is a gitlab site.

我有一个存储库,我通过SSH连接到一个子域上,但http网站在另一个子域上。当我使用Gitens复制页面的URL时,我得到了错误的URL,因为它使用的是SSH子域,而不是Web子域。我看到我可以使用“gitlens.emotes”来配置它,但我不能让它来标识我的存储库,我不知道我是否需要定义所有的“URL”,或者是否有更短的方法,因为它是一个GitLab站点。


How do I configure gitlens.remotes to point to one address as the website and one for ssh?

如何将gitlens.emotes配置为指向一个网站地址和一个ssh地址?


更多回答
优秀答案推荐
更多回答

36 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com