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

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

我喜欢与GitHub帐户一起使用的GitHub Mac应用程序.我已经加入了一个GitLab项目,我想知道我是否可以将GitHub应用程序与GitLab存储库一起使用.我找到了帖子,其中讨论了Windows GitHub应用程序可与GitLab一起使用和一个,其中显示了如何添加存储库.这两个帖子都使我希望GitHub Mac App可以与GitLab一起使用.我还看到,您可以将BitBucket与GitHub Mac一起使用应用程序,但我不知道是否以及如何将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克隆该存储库.完成此操作后,立即进入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

然后可以添加回购目录文件选择器,并从此处进行设置.第一次通过应用回溯到原始位置时,它将询问您的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:31,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1622095.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:我们可以   应用程序   mac   Github   GitLab

发布评论

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

>www.elefans.com

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