[Done] Git URL only in addition to clone command

Could we have the url for the repository available to copy to the clipboard? (Probably in addition to the exiting clone command).

I’ve lost count of the times I’ve needed just the url, copied the clone command and then made a mess of cleaning it up.

2 Likes

Seconded. The supplied git clone command by itself just doesn’t work on the Windows command line, due to its use of the % symbol. (In CMD.EXE, that’s an environment-string delimiter.) Copying the entire thing verbatim is not only overkill, it simply does not work for a lot of people.

The only part of that command line I ever need is the filename portion, between the / and the .git. The rest is boilerplate easily handled by a local Python script, which can do cloning plus any related bookkeeping you desire.

Hi @owen.campbell,

Thanks for raising this. I’ve added it to our list.

2 Likes

Whoop! (whoop, whoop, however many times it takes to make discourse happy)

3 Likes