Gitlab authetication

Jon Boone ipmonger at delamancha.org
Fri Feb 4 00:36:09 UTC 2022


I found this repo:  git at common-lisp.net:mantoniotti/rho.git — so, you should be ok with the URL you provided.

Is this repo already in SourceTree?
If so, try these steps to ensure the proper URL is being used: https://confluence.atlassian.com/sourcetreekb/changing-remote-repository-path-on-sourcetree-using-git-or-mercurial-785616227.html

If not, try following these steps to add it: https://confluence.atlassian.com/sourcetreekb/add-an-existing-repository-into-sourcetree-780870053.html

Where are you generating the new key pair?  If in PuTTY under Windows, try this:  https://confluence.atlassian.com/sourcetreekb/generate-and-load-ssh-keys-into-sourcetree-with-putty-790629663.html

— jb
On Feb 3, 2022, 19:20 -0500, Marco Antoniotti <marco.antoniotti at unimib.it>, wrote:
> I have a git at common-list.net/mantoniotti/myrepo.git remote; cloned via git I believe.
>
> But how do you tell Sourcetree and Gitlab to synch?  Plus, I tried to generate a new key pair, but Gitlab complains that I am trying to upload a private key.
>
> MA
>
> > On Fri, Feb 4, 2022 at 1:09 AM Jon Boone <ipmonger at delamancha.org> wrote:
> > > Hi Marco,
> > >
> > >   What URL do you have configured in SourceTree for the remote repo on Gotland.common-lisp.net?
> > >
> > >   The personal access token would be used as the password IFF you cloned the repo via HTTPS since you have 2FA enabled.
> > >
> > >   If you used SSH to clone, SourceTree needs to be able to access your private key that corresponds to the public ssh key you registered with gitlab.common-lisp.net.
> > >
> > > — jb
> > > On Feb 3, 2022, 18:57 -0500, Marco Antoniotti <marco.antoniotti at unimib.it>, wrote:
> > > > Hi
> > > >
> > > > I have a repository I have not touched in a while and now I cannot push to gitlab.  I use Sourcetree.
> > > >
> > > > I have TFA on and a personal token.  I also have ssh public keys uploaded, but I cannot find the right incantation to set things up.  I understand there is something I must do with the personal token, but what exactly?  The Gitlab instructions are a bit cryptic for me.
> > > >
> > > > Please advise.
> > > >
> > > > Thanks.
> > > >
> > > >
> > > > --
> > > > Marco Antoniotti, Professor                           tel. +39 - 02 64 48 79 01
> > > > DISCo, Università Milano Bicocca U14 2043   http://dcb.disco.unimib.it
> > > > Viale Sarca 336
> > > > I-20126 Milan (MI) ITALY
>
>
> --
> Marco Antoniotti, Professor                           tel. +39 - 02 64 48 79 01
> DISCo, Università Milano Bicocca U14 2043   http://dcb.disco.unimib.it
> Viale Sarca 336
> I-20126 Milan (MI) ITALY
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/clo-devel/attachments/20220203/1677e357/attachment-0001.html>


More information about the clo-devel mailing list