-
Notifications
You must be signed in to change notification settings - Fork 8
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
Change the default for the directory option #20
Comments
How about creating a directory with a specific name, if the |
@mehulshah1506, can you clarify what git does? I'm not sure which command you're referring to. For example, Also, currently, if |
Apologies for not providing enough details. I was referring to Once properly initialized, display a message where it has been initialized. |
@mehulshah1506, I see what you mean and it makes sense. In our case, right now, we have |
With that in mind, I think #20 is still a step in the right direction. I'll merge that and work on the change as per my last comment. |
Fixed in #22. |
The directory option is confusing and prone to errors. It might be better to just ensure that the current directory is empty and if it isn't, throw an error asking the user to create a new directory and run the command there.
Alternatively, we can keep the
--directory
option and make it optional. If it is an empty string (or.
), we check if the current directory is empty.Neither of the above breaks the current workflow significantly. The current workflow also gives an error if the directory exists.
The text was updated successfully, but these errors were encountered: