美文网首页Git
Git clone & change project folde

Git clone & change project folde

作者: JaedenKil | 来源:发表于2020-12-07 16:52 被阅读0次

Normally we just use git clone 'repoUrl'.
Scenario:
I want to clone a project, say "ExoPlayer", but there is already a project named "ExoPlayer", so I want to clone this project and rename folder to ‘ExoPlayerTest":

git clone repoUrl ExoPlayerTest

Refer to git-clone:

<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.

相关文章

网友评论

    本文标题:Git clone & change project folde

    本文链接:https://www.haomeiwen.com/subject/hojtgktx.html