From 027844f4c5c5ad09cba6e489fb924521f1a114ca Mon Sep 17 00:00:00 2001 From: leo Date: Fri, 27 Sep 2024 09:53:04 +0800 Subject: [PATCH] ux: reorder reset modes by safety --- src/Models/ResetMode.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Models/ResetMode.cs b/src/Models/ResetMode.cs index ef193f12..735533c2 100644 --- a/src/Models/ResetMode.cs +++ b/src/Models/ResetMode.cs @@ -8,9 +8,9 @@ namespace SourceGit.Models [ new ResetMode("Soft", "Keep all changes. Stage differences", "--soft", Brushes.Green), new ResetMode("Mixed", "Keep all changes. Unstage differences", "--mixed", Brushes.Orange), + new ResetMode("Merge", "Reset while keeping unmerged changes", "--merge", Brushes.Purple), + new ResetMode("Keep", "Reset while keeping local modifications", "--keep", Brushes.Purple), new ResetMode("Hard", "Discard all changes", "--hard", Brushes.Red), - new ResetMode("Merge", "Reset while keeping unmerged changes", "--merge", Brushes.Green), - new ResetMode("Keep", "Reset while keeping local modifications", "--keep", Brushes.Green), ]; public string Name { get; set; }