function reportGitPushResult()

in src/executil.js [67:81]


function reportGitPushResult (repos, branches) {
    apputil.print('');
    if (gitCommitCount) {
        const flagsStr = repos.map(function (r) { return '-r ' + r.id; }).join(' ') + ' ' + branches.map(function (b) { return '-b ' + b; }).join(' ');
        apputil.print('All work complete. ' + gitCommitCount + ' commits were made locally.');
        apputil.print('To review changes:');
        apputil.print('  ' + process.argv[1] + ' repo-status ' + flagsStr + ' --diff | less');
        apputil.print('To push changes:');
        apputil.print('  ' + process.argv[1] + ' repo-push ' + flagsStr);
        apputil.print('To revert all local commits:');
        apputil.print('  ' + process.argv[1] + ' repo-reset ' + flagsStr);
    } else {
        apputil.print('All work complete. No commits were made.');
    }
}