GitLab和Visual Studio代码 [英] GitLab and Visual Studio Code
问题描述
我正在尝试将可视化的sutdio代码集成为gitlab以执行源代码的版本控制.
I'm trying to integrate the visual sutdio code as gitlab to perform version control of source codes.
我在Google搜索过程中没有找到任何对我有帮助的东西,所以我在这里问.
I did not find anything that would help me during the google searches, so I'm asking here.
有人设法整合吗?
我正在使用GitLab的免费帐户,我想通过Visual Studio Code进行提交/推送/克隆,这可能吗?
I'm using GitLab's free account and I want to commit / push / clone through Visual Studio Code, is it possible?
推荐答案
在 Marketplace 中找到很多 Visual Studio代码扩展.它们被标记了标签,例如
In the Marketplace you find a lot of Visual Studio Code Extensions. They are labeled with tags, e.g.
- tag:git
- tag:gitlab
哪种使用取决于您的偏好和方案.我建议使用,我个人正在使用 GitLens — Git增压.
Which to use depends on your preferences and scenarios. I recommend and I am personally using GitLens — Git supercharged.
对于GitLens,例如,Visual Studio Code中的安装很容易:
The installation in Visual Studio Code is easy, for GitLens e.g.:
启动VS Code快速打开(Ctrl + P),粘贴以下命令,然后按Enter.
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
ext install eamodio.gitlens
在扩展页面上找到的文档,请参见上面的链接.
The documentation you find on the extension page, see link above.
这篇关于GitLab和Visual Studio代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!