如何将Git仓库克隆到特定文件夹?

59 阅读1分钟

内容来自 DOC https://q.houxu6.top/?s=如何将Git仓库克隆到特定文件夹?

git clone git@github.com:whatever命令会创建一个名为whatever的目录,其中包含一个Git仓库:

./
    whatever/
        .git

我希望将Git仓库的内容克隆到当前目录./中:

./
    .git