我们可以将Github mac应用程序与GitLab一起使用吗? [英] Can we use the Github mac app with GitLab?

查看:213
本文介绍了我们可以将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一起使用吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆