git - 使用 "Gitlab Workflow"vscode 扩展克隆私有(private)仓库

标签 git visual-studio-code gitlab

我正在使用 Gitlab Workflow扩展,我想克隆一个私有(private)的 Gitlab 存储库。我已经创建了一个 GitLab Personal Access Token,我也把它给了扩展。但是如果我检查扩展命令:

ctrl+shift+p: gitlab

然后就没有 git clone 或类似的命令来加载普通的 repo,当然也不是私有(private) repo。

有人知道解决办法吗?

最佳答案

我有同样的问题:

我使用了这篇文章(使用 Chrome 的右键单击 -> “翻译成英语”进行翻译):https://herwig.de/anleitungen/entwicklung/gitlab/workflow-vscode-git-gitlab.html#bestehendes-gitlab-repository-in-vs-code-kopieren

然后我使用了“ctrl+shift+p: git: ..”而不是“ctrl+shift+p: gitlab:..”,并且有选项“clone”。不过,您需要安装 Git。

PS:您将被要求输入您的 GitLab 凭据。小心不要输入错误的凭据,因为 git 会记住它们并且更新凭据花了我半天的时间。如果偶尔发生这种情况,请使用 Windows 凭据管理器更新它们。

关于git - 使用 "Gitlab Workflow"vscode 扩展克隆私有(private)仓库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54029043/

相关文章:

ruby-on-rails-3 - 瘦网络服务器 : `start_tcp_server' : no acceptor (RuntimeError) after git branch checkout

flutter - Visual Studio Code : remove word wrap line on editor

git - 如何解除 git 文件夹的嵌套?

eclipse - 无法使用 https 和 SSH 链接在 Eclipse 中克隆 git 存储库

git - 如何在 Android Studio 中切换 git 帐户

全新 OS X Mavericks 升级后出现 git 错误 "unable to locate xcodebuild"

git - 在 Node.js 中无需控制台和调试语句即可推送到生产环境的正确方法?

typescript TS6053 : File ' .ts' not found

visual-studio-code - 在 vscode 中使用调试器时按 ctrl+c 传递 SIGINT

gitlab - gitlab CI中读写文件