Skip to content
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

Create local directory if it doesn't exist #4

Merged
merged 2 commits into from Jul 2, 2018
Merged

Create local directory if it doesn't exist #4

merged 2 commits into from Jul 2, 2018

Conversation

ghost
Copy link

@ghost ghost commented Jun 28, 2018

Currently: if a user runs gitmaker user@host.com test/test and a test directory doesn't exist on the host, gitmaker will make one (using mkdir -p) and set up test/test.git. However, if the test directory doesn't exist locally, gitmaker will fail.

This commit adds the -p flag to the mkdir command ran locally so any non-existing directories will be created.

@ghost
Copy link
Author

ghost commented Jun 28, 2018

lol, sorry for such a long explanation for 3 characters

@fzero
Copy link
Owner

fzero commented Jul 2, 2018

Good catch! Merging right now.

@fzero fzero merged commit 4432dc1 into fzero:master Jul 2, 2018
@ghost
Copy link
Author

ghost commented Jul 2, 2018

Great, thanks for the merge!

Sorry I couldn't ping you myself, I don't use twitter :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant