Lines Matching refs:runAsync
93 async runAsync(args: string[], options: SpawnOptions = {}): Promise<SpawnResult> { method in GitDirectory
105 await this.runAsync(args, options);
118 await this.runAsync(['init']);
126 await this.runAsync(['remote', 'add', name, url]);
133 await this.runAsync(['checkout', ref]);
140 const { stdout } = await this.runAsync(['rev-parse', '--abbrev-ref', 'HEAD']);
148 const { stdout } = await this.runAsync([
175 const { stdout } = await this.runAsync(['rev-parse', 'HEAD']);
194 await this.runAsync(args);
205 await this.runAsync(args);
216 await this.runAsync(args);
250 const { stdout } = await this.runAsync([
277 const { stdout } = await this.runAsync([
312 await this.runAsync(['add', '--', ...paths]);
322 await this.runAsync(['checkout', '--', ...paths]);
323 await this.runAsync(['clean', '-df', '--', ...paths]);
335 await this.runAsync(args);
343 await this.runAsync(['cherry-pick', ...commits], spawnOptions);
350 const { stdout } = await this.runAsync(['rev-list', '--left-right', '--count', `${a}...${b}`]);
374 const { stdout } = await this.runAsync(['diff', '--name-only', '--cached']);
389 const { stdout } = await this.runAsync(['merge-base', base, ref]);
397 const { stdout } = await this.runAsync(['diff', `${commit1}..${commit2}`]);
414 const { stdout } = await this.runAsync(['ls-tree', '-l', ref, '--', ...paths]);
436 const { stdout } = await this.runAsync(['show', `${ref}:${relative(EXPO_DIR, path)}`]);