Checks out an upstream branch with a detached head.
(branchName: string)
| 393 | |
| 394 | /** Checks out an upstream branch with a detached head. */ |
| 395 | protected async checkoutUpstreamBranch(branchName: string) { |
| 396 | this.git.run(['fetch', '-q', this.git.getRepoGitUrl(), '--', branchName]); |
| 397 | this.git.run(['checkout', '-q', 'FETCH_HEAD', '--detach']); |
| 398 | } |
| 399 | |
| 400 | /** Installs all Yarn dependencies in the current branch. */ |
| 401 | protected async installDependenciesForCurrentBranch() { |
nothing calls this directly
no test coverage detected