private CommitTheGitIgnoreFile ( string pathToGitIgnoreFile ) : void | ||
pathToGitIgnoreFile | string | |
return | void |
private void CommitTheGitIgnoreFile(string pathToGitIgnoreFile)
{
if (string.IsNullOrWhiteSpace(pathToGitIgnoreFile))
{
Trace.WriteLine("No .gitignore file specified...");
return;
}
_globals.Repository.CommitGitIgnore(pathToGitIgnoreFile);
}