-
-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Organized Repos End with .git
#83
Comments
That's a great point! I think you won't be the only one surprised by this. What's happening here is expected as I never noticed this as I always just clone from the URL visible in the browser - it works just as well even though this feature isn't really advertised. So for me, remote URLs look like Since this is a valuable improvement to make, here is where such a transformation to remove '.git' extensions could be added: (in line 162). However, that should only be done if the repository has a working tree. Bare repositories are usually denoted by keeping their |
I couldn't help myself but to 'warm up' by implementing the improvement, so this feature is now available in the latest |
Awesome, thank you both for the context on why this happens and the fix itself! 🎉 |
Hey! I love the idea of the
organize
command to clean up my messy~/Code
folder.I ran it this morning and have found that all of the moved directories now end in
.git
. Here's an example of the directory with all my work repositories in it:Repo List
Is this intentional? At least in my case, this was unexpected. I ran the dry run first but I guess didn't notice that
.git
was going to be added to all of these.The text was updated successfully, but these errors were encountered: