简体   繁体   中英

GitHub create repository with special root directory?

I want to make a GitHub repository. I want the root directory of it to be C:\\Users\\<user>\\Desktop\\Folder\\src , and not C:\\Users\\<user>\\Desktop\\Folder\\src\\RepoName , but i cant manage to get this working. I tried creating a repository in "src", but that just created a folder with the repository name inside. I also want to avoid calling my repository "src".

您可以使用“ Folder下的命令,它会根据需要创建。

git clone https://github.com/yourprojectname.git src

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM