<p>aperiodic reminder that you can instruct git to automagically use different url scheme, eg. to avoid having to deal with http(s) auth even by accident.</p><p>simply run <code>git config --global --edit</code> and add lines like these:</p><pre><code>[url "git@github.com:"]<br> insteadOf = https://github.com/<br>[url "git@code.hackerspace.pl:"]<br> insteadOf = https://code.hackerspace.pl/<br>[url "git@codeberg.org:"]<br> insteadOf = https://codeberg.org/<br></code></pre>
Reply