Re: Gitlab authetication
Jon Boone <[email protected]>
| Newsgroups | gmane.lisp.common-lisp-net.devel |
|---|---|
| Message-ID | <4c4ebe24-a06b-4469-9dd6-32d44ea4d249@Spark> |
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 > > > > 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