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@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