gulp-create-git-branch
v1.0.3
Published
It creates a new branch in the specified repository
Downloads
20
Readme
gulp-create-git-branch
Gulp wrapper for create-git-branch (https://github.com/adamnowocin/create-git-branch)
Installation
Install the package with npm and add it to your development dependencies:
npm install --save-dev gulp-create-git-branch
Usage
Basic
var branch = require('gulp-create-git-branch');
gulp.task('branch', function() {
return gulp.src('').pipe(
branch('[email protected]:adamnowocin/gulp-create-git-branch.git', '1.0.0')
);
});
Specify temp repository folder
var branch = require('gulp-create-git-branch');
gulp.task('branch', function() {
return gulp.src('').pipe(
branch('[email protected]:adamnowocin/gulp-create-git-branch.git', '1.0.0', 'tmp-repo')
);
});
License
gulp-create-git-branch is licensed under the MIT license.
For the full license, see the LICENSE
file.