-
Notifications
You must be signed in to change notification settings - Fork 88
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
How to clone to specific folder? #32
Comments
git.clone("url", {cwd: "./apps/"}); |
Great! Awesome thanks! :-) |
It seems like this folder has to exist before running the command above? Is that correct? On the other hand, if you do something like:
Then the directory will be created if it does not exist. |
Yes, |
I want: |
var git = require('gulp-git');
// Clone a remote repo
gulp.task('clone', function(){
git.clone('https://git-location', './apps/');
});
This one is running but it is creating an undefined folder and copying all the files there. Am I doing something wrong or is this possible?
The text was updated successfully, but these errors were encountered: