diff --git a/Git/Remote.cs b/Git/Remote.cs index 4b411ff5..f7f4ccb2 100644 --- a/Git/Remote.cs +++ b/Git/Remote.cs @@ -54,7 +54,11 @@ namespace SourceGit.Git { /// public static void Add(Repository repo, string name, string url) { var errs = repo.RunCommand($"remote add {name} {url}", null); - if (errs != null) App.RaiseError(errs); + if (errs != null) { + App.RaiseError(errs); + } else { + repo.Fetch(null, true, null); + } } ///