我们可以将 Github mac 应用程序与 GitLab 一起使用吗?

编程入门 行业动态 更新时间:2024-10-15 06:17:55
本文介绍了我们可以将 Github mac 应用程序与 GitLab 一起使用吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我喜欢与我的 GitHub 帐户一起使用的 GitHub Mac 应用程序.我加入了一个 GitLab 项目,我想知道是否可以将 GitHub 应用程序与 GitLab 存储库一起使用.我发现了一篇 帖子,其中讨论了 Windows GitHub 应用程序可与 GitLab 一起使用和 one 展示了如何添加存储库.这两篇文章都给了我希望 GitHub Mac 应用程序可以与 GitLab 一起使用.我还看到您可以在 GitHub Mac 上使用 BitBucket应用程序,但我不明白是否以及如何将 GitLab 存储库链接到我的 GitHub Mac 应用程序.

I like the GitHub Mac app, which I use with my GitHub account. I have joined a GitLab project and I was wondering whether I can use the GitHub app with a GitLab repository. I found a post that discuss that the Windows GitHub app works with GitLab and one that show how to add a repo. Both these posts gave me hope that the GitHub Mac App would work with GitLab. I also see that you can use BitBucket with the GitHub Mac app, but I don't understand whether and how to link a GitLab repository to my GitHub Mac app.

非常感谢!

推荐答案

使用 mac 应用程序,您必须在命令行上进行克隆.打开一个终端,导航到您想要成为本地存储库父级的目录,然后 git clone 该存储库.完成后,进入 github mac 应用程序并转到 File->Add Local Repo

With the mac app, you have to do the clone on the command line. Open a terminal, navigate to directory that you want to be the parent of your local repo, and git clone the repo. As soon as this is done, go into the github mac app and Go to File->Add Local Repo

然后您可以添加 repo 目录文件选择器,并从那里进行设置.第一次通过应用推送回源时,它会询问您的 gitlab 用户名和密码,并可选择将它们存储在钥匙串中.

You can then add the repo directory file picker, and from there you should be set. The first time you push back to origin through the app, it will ask for your gitlab username and password, and optionally store them in the keychain.

更多推荐

我们可以将 Github mac 应用程序与 GitLab 一起使用吗?

本文发布于:2023-11-23 16:15:13,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1622094.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:我们可以   应用程序   mac   Github   GitLab

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!