Git: Add cherryPick command

This commit is contained in:
sneakyfish5.sneaky@gmail.com
2020-08-09 16:48:22 -05:00
parent 6d913c4c14
commit ff8d4feeb4
5 changed files with 35 additions and 0 deletions

View File

@@ -1635,6 +1635,11 @@ export class Repository {
}
}
async cherryPick(commitHash: string): Promise<void> {
const args = ['cherry-pick', commitHash];
await this.run(args);
}
async blame(path: string): Promise<string> {
try {
const args = ['blame', sanitizePath(path)];