diff --git a/src/GitHub.App/Services/RepositoryCloneService.cs b/src/GitHub.App/Services/RepositoryCloneService.cs index e67a669146..d84d083b5d 100644 --- a/src/GitHub.App/Services/RepositoryCloneService.cs +++ b/src/GitHub.App/Services/RepositoryCloneService.cs @@ -121,6 +121,9 @@ public async Task CloneOrOpenRepository( throw new InvalidOperationException("Can't clone or open a repository because a file exists at: " + repositoryPath); } + // Make sure the Clone Repository UI is visible while cloning + teamExplorerServices.ShowHomePage(); + var repositoryUrl = url.ToRepositoryUrl(); var isDotCom = HostAddress.IsGitHubDotComUri(repositoryUrl); if (DestinationDirectoryExists(repositoryPath)) @@ -150,8 +153,6 @@ public async Task CloneOrOpenRepository( await usageTracker.IncrementCounter(x => x.NumberOfEnterpriseClones); } } - - teamExplorerServices.ShowHomePage(); } ///