public static CreateUnityGitIgnores ( ) : void | ||
Résultat | void |
public static void InitNewRepo() { string repoPath = GetRepoPath(); if (repoPath == "") { repoPath = EditorUtility.OpenFolderPanel("Choose a repo directory", "", ""); if (repoPath == "" || repoPath == null) { return; } repoPath = repoPath.Replace(@"\", "/"); Debug.Log(repoPath); } else { Debug.Log("Repo already exists at: " + repoPath); return; } Debug.Log(RunGitCmd("init " + repoPath)); UnityGitHelper.CreateUnityGitIgnores(); }
static void CreateIgnoreFiles() { UnityGitHelper.CreateUnityGitIgnores(); }