<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72" style='word-wrap:break-word'><div class=WordSection1><p class=MsoNormal>On Windows, you can also configure git to use Window’s built-in credential management system so that you do not have to type in user/pass to do git operations. I think this mechanism will still work using tokens, but I have not tried it yet, despite GitHub already nagging me about it for the past few months. I’d bet money you can do that same thing on Linux/Mac, but on those platforms, I’ve used front ends for git that I think do that for me.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’m in the opposite boat, I’m a single individual with many git accounts in use on the same machine. I have to setup git so that uses “user/pass 1” for “repo A” and “user/pass 2” for “repo B”. Not only that, but some of my local repo’s have multiple remotes. This GitHub change is sure to be a PITA for me for years to come. I understand their rationale behind it, but when someone gets hacked, it’s going to be because they clicked on a phishing email and that the one thing that is still going to allow a username /password combination. One nice thing about user/pass authentication is that you can embed the user/pass into the url itself for https git operations. That’s not something you would want to do for a “production” workflow, for for one-off things with git, it saves a ton of hassle and setup for something you going to do one time. </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Setting up your own git central repo isn’t hard, the hardest part is getting the machine itself up and running to host it. I use software called “gitblit” that’s a java-based git server and website interface, that has low system requirements (beyond java), and works on Windows/Linux servers, and works on older machines too. It’s got a lot of GitHub/bitbucket – like features, and it very simple to install/setup.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='border:none;padding:0in'><b>From: </b><a href="mailto:triembed@triembed.org">Pete Soper via TriEmbed</a><br><b>Sent: </b>Friday, January 29, 2021 11:24 AM<br><b>To: </b><a href="mailto:triembed@triembed.org">triembed@triembed.org</a><br><b>Subject: </b>Re: [TriEmbed] GitHub heads up: password logins go away August 13th</p></div><p class=MsoNormal><o:p> </o:p></p></div></body></html>Sorry to be a chatter box.<br /><br />With Bitbucket you just put your credentials into the local .git/config <br />after defining the global git username and email address. I'm 98% sure <br />if you set up ssh keys for a particular local PC you can bypass having <br />to enter a password to do a push but I'm too lazy/stupid to do that. I <br />just flirt with carpal tunnel and trust my fingers to type the password <br />with close to zero effort.<br /><br />-Pete<br /><br /><br />_______________________________________________<br />Triangle, NC Embedded Computing mailing list<br /><br />To post message: TriEmbed@triembed.org<br />List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org<br />TriEmbed web site: http://TriEmbed.org<br />To unsubscribe, click link and send a blank message: mailto:unsubscribe-TriEmbed@bitser.net?subject=unsubscribe<br /><br />