examples/cordova1/plugins/branch-cordova-sdk/src/scripts/npm/updateNpmVersion.js
function commitChanges(git, version) {
    git += `git commit -m "chore: updated npm version to ${version}" && git push`;
    exec(git, (err, stdout, stderr) => {
      if (err) {
        throw new Error(
          "BRANCH SDK: Failed to commit git changes for the npm version. Docs https://goo.gl/GijGKP"
        );
      }
    });
  }
function commitChanges(git, version) {
    git += `git commit -m "chore: updated npm version to ${version}" && git push`;
    exec(git, (err, stdout, stderr) => {
      if (err) {
        throw new Error(
          "BRANCH SDK: Failed to commit git changes for the npm version. Docs https://goo.gl/GijGKP"
        );
      }
    });
  }
function commitChanges ( git , version ) { git += ` ${ version } ` ; exec ( git , ( err , stdout , stderr ) => { if ( err ) { throw new Error ( "BRANCH SDK: Failed to commit git changes for the npm version. Docs https://goo.gl/GijGKP" ) ; } } ) ; }
push file code changes to github
push file code changes to github