* Returns the string representation of the git checkout command.
()
| 38 | * Returns the string representation of the git checkout command. |
| 39 | */ |
| 40 | toString() { |
| 41 | return [ |
| 42 | 'git', |
| 43 | 'checkout', |
| 44 | this.orphan ? '--orphan' : '-B', |
| 45 | this.branch, |
| 46 | this.commitish || '' |
| 47 | ].join(' '); |
| 48 | } |
| 49 | } |
| 50 | exports.GitCheckout = GitCheckout; |
| 51 | /** |
no outgoing calls
no test coverage detected