enhance: create branch on detached HEAD (#344)

This commit is contained in:
leo 2024-08-09 16:06:28 +08:00
parent c596427380
commit ed2d3279e1
No known key found for this signature in database
5 changed files with 5 additions and 5 deletions

View file

@ -28,10 +28,10 @@ namespace SourceGit.Models
public string Head { get; set; }
public bool IsLocal { get; set; }
public bool IsCurrent { get; set; }
public bool IsDetachedHead { get; set; }
public string Upstream { get; set; }
public BranchTrackStatus TrackStatus { get; set; }
public string Remote { get; set; }
public bool IsHead { get; set; }
public string FriendlyName => IsLocal ? Name : $"{Remote}/{Name}";
}