sindresorhus/refined-github

Include git clone command in "Clone or download" section #2121

loilo posted onGitHub

I'm usually copying the URL of my repos just to do git clone [paste] && cd [type-name-here]. I'd find it very useful to have that command right at my fingertips in GitHub.

This is basically what was suggested in #1355, but instead of modifying the existing behavior, I would include the command as an additional option:

<img alt="Prototype of the desired functionality (screenshot)" src="https://user-images.githubusercontent.com/1922624/58941343-dbcec880-877b-11e9-9045-d8813736a473.png" width="380">

I think this change would be subtle/unobtrusive, but it would be interesting to get maintainer/community feedback on whether this a more widely requested feature or it's just me. 🙂

If this proposal gets any approval, I'd be happy to implement it.


I think you can just have a shortcut on your computer instead: https://unix.stackexchange.com/a/97922/32466

You can include a command like pbpaste so you don't even have to paste the URL every time.

posted by bfred-it over 5 years ago

Fund this Issue

$0.00
Funded

Pull requests