Questions tagged [gulp-git]
7 questions
                    
                    5
                    
            votes
                
                2 answers
            
        Gulp Git run first commit task then push task
I am working on project and I want to commit and push on git using by gulp but I am facing some issue when I am running git task so push then task is not waiting for commit....
Anyone can do my help! I want to make the task like first run commit and…
         
    
    
        Faizy
        
- 69
- 9
                    1
                    
            vote
                
                1 answer
            
        Concatenating gulp-git tasks
I have the following gulp-git tasks which are almost a copy of the task examples provided here https://www.npmjs.com/package/gulp-git
/**
 * Checkout production build branch.
 */
gulp.task('checkout-dist', function(){
  git.checkout('dist', function…
         
    
    
        lapinkoira
        
- 8,320
- 9
- 51
- 94
                    1
                    
            vote
                
                1 answer
            
        gulp notification happens before task is complete
Having trouble understanding gulp (I'm new).
I want to automate a product build which involves cloning from a gitlab repo.
I don't understand why I need src('package.json') there, is this some kind of a trick? I also don't get why I get notified…
        user796443
                    1
                    
            vote
                
                1 answer
            
        How do I clone and then check out a tag properly using git-gulp
I am trying to get a script rolling that:
clones a repo (e.g. git clone someClonePath.git), then
checks out a tag (git checkout tags/someTag)
gulp.task('clone', function(){
  git.clone('somepath/cloneDir.git', function (err) {
    if (err) {
    …
         
    
    
        RhinoWalrus
        
- 3,009
- 2
- 32
- 41
                    0
                    
            votes
                
                1 answer
            
        How to set git credentials in azure devops continuous builds
I am creating a release for my Node.js project. The build is configured on gulp.
As a part of the build steps, I need to:
checkout the master and create a new release branch
Update the version on the release branch
commit and push the release…
         
    
    
        Sharath Chandra
        
- 654
- 8
- 26
                    0
                    
            votes
                
                0 answers
            
        How to run Gulp watch as a background task?
I have a gulp file using gulp-git that  I wrote to assist our content writers in pushing their updates without having to use git command line. So basically it watches for changes in the given directories and then adds, commits, and pushes the…
         
    
    
        Sandra Willford
        
- 3,459
- 11
- 49
- 96
                    0
                    
            votes
                
                0 answers
            
        gulp-git get changed file stream
I am writing a script for reverting changes in all html files in certain folders(They are autogenerated). My current code looks like this - 
var gulp = require('gulp');
var git = require('gulp-git');
var filelog =…
         
    
    
        0xC0DED00D
        
- 19,522
- 20
- 117
- 184