/// <summary> /// Set global git config useHttpPath for CSR host. /// Refer to https://git-scm.com/docs/gitcredentials /// </summary> public static Task SetUseHttpPathAsync() => GitRepository.RunGitCommandAsync( $"config --global credential.{CsrUrlAuthority}.useHttpPath true", Directory.GetCurrentDirectory());