Branches off the current repository `HEAD`.
(newBranchName: string)
| 60 | |
| 61 | /** Branches off the current repository `HEAD`. */ |
| 62 | branchOff(newBranchName: string): this { |
| 63 | runGitInTmpDir(['checkout', '-B', newBranchName]); |
| 64 | return this; |
| 65 | } |
| 66 | |
| 67 | /** Switches to an existing branch. */ |
| 68 | switchToBranch(branchName: string): this { |
no test coverage detected