[giti] `giti branch delete`: Prefix relevant branches with "(current) " and "(merged) "
Opened this issue · 0 comments
NadiaIdris commented
Prerequisites
Install and run giti
- Move to
./tuify
folder in your terminal - Run
nu run.nu install-giti
to installgiti
locally to~/.cargo/bin
- Run
giti
from anywhere on your system - To delete one or more branches in your repo run
giti branch delete
Prefix relevant branches with "(current) " and "(merged) "
In tuify component add the following:
- Prefix current branch name with
(current)
. E.g.(current) NadiaIdris/branch-1
- Prefix a branch which has been merged to remote main development branch with
(merged)
. E.g.(merged) NadiaIdris/branch-2
.- Note: add two spaces after
(merged)
, so that in monospace font, all the branch names start at the same column.
- Note: add two spaces after
Up or Down: navigation
Space: select or unselect branches
Return: confirm selection
Esc or Ctrl+C: exit program
Please select branches you want to delete
› ☐ (current) aaronsmith/branch-1
☐ main
☐ (merged) NadiaIdris/branch-2
☐ NadiaIdris/branch-3
☐ NadiaIdris/branch-4