diff --git a/src/ViewModels/Fetch.cs b/src/ViewModels/Fetch.cs index 0930e7773..4eecffd62 100644 --- a/src/ViewModels/Fetch.cs +++ b/src/ViewModels/Fetch.cs @@ -80,7 +80,7 @@ public override async Task Sure() log.Complete(); var upstream = _repo.CurrentBranch?.Upstream; - if (!string.IsNullOrEmpty(upstream)) + if (!string.IsNullOrEmpty(upstream) && _repo.CurrentBranch.TrackStatus.Ahead.Count == 0) { var upstreamHead = await new Commands.QueryRevisionByRefName(_repo.FullPath, upstream.Substring(13)).GetResultAsync(); _repo.NavigateToCommit(upstreamHead, true);