icyphox / legit

web frontend for git
https://git.icyphox.sh
MIT License
376 stars 25 forks source link

Display SSH url instead of https url #23

Closed quaintdev closed 1 year ago

quaintdev commented 1 year ago

Since https is disabled by default legit should display SSH url on webpage

quaintdev commented 1 year ago

Raised PR #24 for this

icyphox commented 1 year ago

Hi, let me clarify: https pushes are disabled by default—since legit is primarly read only and doesn't concern itself with how you push to your git repos. Now, replacing the https clone URL with the ssh URL doesn't make sense to me since that breaks clones for people without ssh access—not to mention tools like proxy.golang.org or even just go get.

That said, if this is what you want, you're free to update your local templates to show the ssh URL instead.

quaintdev commented 1 year ago

I understand. I have updated my templates. Thanks.