Can we use the Github mac app with GitLab?

前端 未结 2 580
一生所求
一生所求 2021-02-18 16:38

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 fo

相关标签:
2条回答
  • 2021-02-18 17:01

    Here is the command in terminal (OSX) that worked for me to clone the repo:

    git clone git@gitlab.com:yourusername/yourrepo.git

    Hope this helps someone

    0 讨论(0)
  • 2021-02-18 17:04

    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

    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.

    0 讨论(0)
提交回复
热议问题