Clone contents of a GitHub repository (without the folder itself)

前端 未结 6 1263
梦谈多话
梦谈多话 2020-12-04 04:57

I\'d like to git clone the contents of a repository I have on GitHub. When I git clone (git@github:me/name.git...) I get a folder called name

6条回答
  •  南笙
    南笙 (楼主)
    2020-12-04 05:29

    You can specify the destination directory as second parameter of the git clone command, so you can do:

    git clone  .
    

    This will clone the repository directly in the current local directory.

提交回复
热议问题