Clone with full path to repo

Viewed 2105

git repos have a path that includes more than just the repo name. I'm wondering if there is a way to automatically have git clone a repository and include the full path, which will help me categorize my projects.

For example, I'd like git clone git@github.com:scrooloose/nerdcommenter.git to clone to ./scrooloose/nerdcommenter/ instead of just ./nerdcommenter/.

Is there a flag in git clone for this, or do I just have to do it manually?

2 Answers
Related