Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Include owner in default path when cloning a repository #1906
What this PR does
Rather than suggesting a flat folder structure when cloning a repository, suggest a folder structure that includes the repositories owner
How to test
Immediately change default clone path
Change directory name after selecting repository
Remove repository name from path
Remove owner and repository name from path
Clear the path
Remove owner from path
Both of which are fine as they are since a user will likely select a new local clone path they're happy with if something undesired happened.
I think this works really nicely and will be helpful at providing more structure for those who have lots of repositories from different owners or organizations.
Thanks for taking a
Yup, I always organize my folders in a way that mirrors GitHub. I'll often clone a few repositories from the same owner. It's the only way I can keep any kind of order!
It would be easy enough to reset back to the default clone location if the user removes the full path. I think if someone was to do this, that is what they'd be hoping for?
I'll see if this can be fixed as well without any undesirable consequences. I think its okay for the reason you mentioned, but maybe it could be better.