Re: Gitlab authetication
Marco Antoniotti <[email protected]>
| Newsgroups | gmane.lisp.common-lisp-net.devel |
|---|---|
| Message-ID | <CAG0Nw2mx2dWwEPkiPNERL218GNViFCibU8bMsHe3UGyGtFEqQA@mail.gmail.com> |
Thanks, I'll check it out tonight. On Fri, 4 Feb 2022 at 01:39, Jon Boone <[email protected]> wrote: > Sorry, just double checked your provided URL — there needs to be a ‘:’ > between ‘net’ and ‘mantoniotti’ instead of a ‘/‘. > > — jb > On Feb 3, 2022, 19:20 -0500, Marco Antoniotti <[email protected]>, > wrote: > > I have a [email protected]/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 <[email protected]> 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 <[email protected]>, >> 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 >> <https://www.google.com/maps/search/Viale+Sarca+336+%0D%0AI-20126+Milan?entry=gmail&source=g> >> I-20126 Milan >> <https://www.google.com/maps/search/Viale+Sarca+336+%0D%0AI-20126+Milan?entry=gmail&source=g> >> (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 > <https://www.google.com/maps/search/Viale+Sarca+336+%0D%0AI-20126+Milan?entry=gmail&source=g> > I-20126 Milan > <https://www.google.com/maps/search/Viale+Sarca+336+%0D%0AI-20126+Milan?entry=gmail&source=g> > (MI) ITALY > > -- Marco Antoniotti https://dcb.disco.unimib.it