* Creates a local branch from the current Git `HEAD`. Will override * existing branches in case of a collision.
(branchName: string)
| 297 | * existing branches in case of a collision. |
| 298 | */ |
| 299 | protected async createLocalBranchFromHead(branchName: string) { |
| 300 | this.git.run(['checkout', '-q', '-B', branchName]); |
| 301 | } |
| 302 | |
| 303 | /** Pushes the current Git `HEAD` to the given remote branch in the configured project. */ |
| 304 | protected async pushHeadToRemoteBranch(branchName: string) { |