UNPKG

bit-bin

Version:

<a href="https://opensource.org/licenses/Apache-2.0"><img alt="apache" src="https://img.shields.io/badge/License-Apache%202.0-blue.svg"></a> <a href="https://github.com/teambit/bit/blob/master/CONTRIBUTING.md"><img alt="prs" src="https://img.shields.io/b

16 lines (15 loc) 682 B
import CommandHelper from './e2e-command-helper'; import ScopeHelper from './e2e-scope-helper'; import ScopesData from './e2e-scopes'; export default class GitHelper { scopes: ScopesData; command: CommandHelper; scopeHelper: ScopeHelper; constructor(scopes: ScopesData, commandHelper: CommandHelper, scopeHelper: ScopeHelper); writeGitIgnore(list: string[]): void; writeToGitHook(hookName: string, content: string): void; initNewGitRepo(): string; addGitConfig(key: string, val: string, location?: string): string; unsetGitConfig(key: string, location?: string): string; mimicGitCloneLocalProject(cloneWithComponentsFiles?: boolean): void; }