lib/gitsync.js
function(cb) {
            log.log('git fetch origin ' + repoDir);
            git(repoDir, ['fetch', 'origin'], function(err, stdout, stderr) {
                if (err) {
                    log.error('Unable to fetch at ' + repoDir + ':', err.msg);
                }
                cb(null, {fetch: {stdout: stdout, stderr: stderr}})
            });
        }
function(cb) {
            log.log('git fetch origin ' + repoDir);
            git(repoDir, ['fetch', 'origin'], function(err, stdout, stderr) {
                if (err) {
                    log.error('Unable to fetch at ' + repoDir + ':', err.msg);
                }
                cb(null, {fetch: {stdout: stdout, stderr: stderr}})
            });
        }
function ( cb ) { log . log ( 'git fetch origin ' + repoDir ) ; git ( repoDir , [ 'fetch' , 'origin' ] , function ( err , stdout , stderr ) { if ( err ) { log . error ( 'Unable to fetch at ' + repoDir + ':' , err . msg ) ; } cb ( null , { fetch : { stdout : stdout , stderr : stderr } } ) } ) ; }
Fetch to update the latest remote state of the repo.
Fetch to update the latest remote state of the repo .