Вот документы для мерзавца клонамерзавец клон х, как «у» - (переименование репо локально)
https://git-scm.com/docs/git-clone
Обычно мы клонировать репозиторий, как так
git clone x
однако, я хочу чтобы переименовать репозиторий на местном уровне, поэтому это было бы чем-то вроде
git clone x as y
, глядя на docs, неясно, возможно ли это или кошерно, кто-нибудь знает, как это сделать?
это выглядит как это работает:
git clone x y
согласно документации:
<repository>
The (possibly remote) repository to clone from. See the URLS section below for more information on specifying repositories.
<directory>
The name of a new directory to clone into. The "humanish" part of the source repository is used if no directory is explicitly given (repo for /path/to/repo.git and foo for host.xz:foo/.git). Cloning into an existing directory is only allowed if the directory is empty.