Lines Matching refs:ref
65 ref?: string;
132 async checkoutAsync(ref: string) {
133 await this.runAsync(['checkout', ref]);
191 if (options.ref) {
192 args.push(options.ref);
388 async mergeBaseAsync(ref: string, base: string = 'HEAD'): Promise<string> {
389 const { stdout } = await this.runAsync(['merge-base', base, ref]);
413 async listTreeAsync(ref: string, paths: string[]): Promise<GitListTree[]> {
414 const { stdout } = await this.runAsync(['ls-tree', '-l', ref, '--', ...paths]);
435 async readFileAsync(ref: string, path: string): Promise<string> {
436 const { stdout } = await this.runAsync(['show', `${ref}:${relative(EXPO_DIR, path)}`]);
448 ref: string = 'main'
455 await git.fetchAsync({ depth: 1, remote: 'origin', ref });