tasks/build_control.js
function gitPush () {
      var branch = options.branch;
      var withForce = options.force ? ' --force ' : '';

      if (options.remoteBranch) branch += ':' + options.remoteBranch;

      log.subhead('Pushing ' + options.branch + ' to ' + options.remote + withForce);
      execWrap('git push ' + withForce + remoteName + ' ' + branch, false, true);

      if (options.tag) {
        execWrap('git push ' + remoteName + ' ' + options.tag);
      }
    }
function gitPush () {
      var branch = options.branch;
      var withForce = options.force ? ' --force ' : '';

      if (options.remoteBranch) branch += ':' + options.remoteBranch;

      log.subhead('Pushing ' + options.branch + ' to ' + options.remote + withForce);
      execWrap('git push ' + withForce + remoteName + ' ' + branch, false, true);

      if (options.tag) {
        execWrap('git push ' + remoteName + ' ' + options.tag);
      }
    }
function gitPush ( ) { var branch = options . branch ; var withForce = options . force ? ' --force ' : '' ; if ( options . remoteBranch ) branch += ':' + options . remoteBranch ; log . subhead ( 'Pushing ' + options . branch + ' to ' + options . remote + withForce ) ; execWrap ( 'git push ' + withForce + remoteName + ' ' + branch , false , true ) ; if ( options . tag ) { execWrap ( 'git push ' + remoteName + ' ' + options . tag ) ; } }
Push branch to remote
Push branch to remote