Notgnoshi / herostratus

An ancient Greek known for seeking fame through crime and destruction. Also a Git repository achievements engine.
MIT License
0 stars 0 forks source link

Support [~username] expansion in clone URLs #26

Open Notgnoshi opened 6 months ago

Notgnoshi commented 6 months ago

https://git-scm.com/docs/git-clone/ documents clone URLs of the form

The ssh and git protocols additionally support ~username expansion:

ssh://[user@]host.xz[:port]/~[user]/path/to/repo.git/
git://host.xz[:port]/~[user]/path/to/repo.git/
[user@]host.xz:/~[user]/path/to/repo.git/

Relates to, but is out-of-scope from https://github.com/Notgnoshi/herostratus/milestone/4