Ian Rehwinkel
Ian Rehwinkel

Reputation: 2615

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

Upvotes: 0

Views: 76

Answers (1)

Oguz Ozcan
Oguz Ozcan

Reputation: 1547

You can use the command under Folder and it will create as you wish.

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

Upvotes: 1

Related Questions