How to use the gulp-git.add function in gulp-git

To help you get started, we’ve selected a few gulp-git examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github iainjmitchell / pageboy.js / gulpfile.js View on Github external
gulp.task('push', ['check-coverage', 'minify'], function(){
	var commitMessage = gulp.env.m || 'refactoring';
	console.log('Tests passed! Pushing code...');
	return gulp
		.src('./.')
		.pipe(git.add())
		.pipe(git.commit(commitMessage))
		.pipe(git.push());
});
github clappr / clappr / tasks / bump.js View on Github external
gulp.task('git-commit', function(cb) {
  gulp.src('.')
    .pipe(git.add())
    .pipe(git.commit("bump to " + args.tag))
    .pipe(gcallback(cb))
});
github Cryptonomica / cryptonomica / src / main / webapp / vendors / angular-ui-uploader / 1.1.3 / gulpfile.js View on Github external
gulp.task('release:commit', ['release:rebuild'], function() {
    return gulp.src(['./package.json', 'dist/**/*'])
            .pipe(git.add())
            .pipe(git.commit(versionAfterBump));
});
github mmnaseri / proton.multi-list-picker / gulpfile.js View on Github external
gulp.task('git-scripts', function () {
    return gulp.src(paths.scripts)
        .pipe(git.add());
});
github mmnaseri / spring-data-mock / gulpfile.js View on Github external
gulp.task('git-site', function () {
    return gulp.src(paths.site.root)
        .pipe(git.add());
});

gulp-git

Git plugin for gulp (gulpjs.com)

MIT
Latest version published 4 years ago

Package Health Score

47 / 100
Full package analysis