Bug 511620

Summary: Version control (git): List only local branches (optionally or by default)
Product: [Applications] kate Reporter: tomashnyk
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: waqar.17a
Priority: NOR    
Version First Reported In: 25.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tomashnyk 2025-11-04 12:51:42 UTC
When I am using the git plugin and want to checkout a branchm it lists both remote and local branches. I usually only care about local branches, the remotes one are just clutter for me. I can imagine people who care for both, especially when they collaborate with otehrs nad pull their branches frequently.

It would be good if it were possible to optinoally (or by default, not sure), only list local branches. Essentially the same output that "git branch" gives.
Comment 1 Waqar Ahmed 2025-11-06 07:49:00 UTC
good suggestion. Also a pain point for myself.  The idea I have is to sort the branches such that locals are listed first, then remote branches
Comment 2 tomashnyk 2025-11-06 09:02:45 UTC
I personally would prefer to hide them altogether, but at least sorting them would be improvement too!
Comment 3 Waqar Ahmed 2025-11-10 08:34:14 UTC
This is now done.
https://invent.kde.org/utilities/kate/-/merge_requests/1937
Comment 4 tomashnyk 2025-11-10 08:42:44 UTC
Thank you!