<div dir="ltr"><div>I have a <a href="http://git@common-list.net/mantoniotti/myrepo.git">git@common-list.net/mantoniotti/myrepo.git</a> remote; cloned via git I believe.</div><div><br></div><div>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.<br></div><div><br></div><div>MA<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 4, 2022 at 1:09 AM Jon Boone <<a href="mailto:ipmonger@delamancha.org">ipmonger@delamancha.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div name="messageBodySection">
<div dir="auto">Hi Marco,<br>
<br>
  What URL do you have configured in SourceTree for the remote repo on <a href="http://Gotland.common-lisp.net" target="_blank">Gotland.common-lisp.net</a>?<br>
<br>
  The personal access token would be used as the password IFF you cloned the repo via HTTPS since you have 2FA enabled.<br>
<br>
  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 <a href="http://gitlab.common-lisp.net" target="_blank">gitlab.common-lisp.net</a>.</div>
</div>
<div name="messageSignatureSection"><br>
— jb</div>
<div name="messageReplySection">On Feb 3, 2022, 18:57 -0500, Marco Antoniotti <<a href="mailto:marco.antoniotti@unimib.it" target="_blank">marco.antoniotti@unimib.it</a>>, wrote:<br>
<blockquote type="cite" style="border-left:thin solid grey;margin:5px;padding-left:10px">
<div dir="ltr">
<div>Hi</div>
<div><br></div>
<div>I have a repository I have not touched in a while and now I cannot push to gitlab.  I use Sourcetree.<br>
<br></div>
<div>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.<br></div>
<div><br></div>
<div>Please advise.<br></div>
<div><br></div>
<div>Thanks.</div>
<div><br></div>
<div><br></div>
<div>--<br>
<div dir="ltr">
<div dir="ltr">Marco Antoniotti, Professor                           tel. +39 - 02 64 48 79 01<br>
DISCo, Università Milano Bicocca U14 2043   <a href="http://dcb.disco.unimib.it" target="_blank">http://dcb.disco.unimib.it</a><br>
Viale Sarca 336<br>
I-20126 Milan (MI) ITALY</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>

</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Marco Antoniotti, Professor                           tel. +39 - 02 64 48 79 01<br>DISCo, Università Milano Bicocca U14 2043   <a href="http://dcb.disco.unimib.it" target="_blank">http://dcb.disco.unimib.it</a><br>Viale Sarca 336<br>I-20126 Milan (MI) ITALY</div></div>