Sep.Git.Tfs.Commands.Init.InitSubdir C# (CSharp) Method

InitSubdir() private method

private InitSubdir ( string repositoryPath ) : void
repositoryPath string
return void
        private void InitSubdir(string repositoryPath)
        {
            if (!Directory.Exists(repositoryPath))
                Directory.CreateDirectory(repositoryPath);
            Environment.CurrentDirectory = repositoryPath;
            _globals.GitDir = ".git";
        }