You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a user tries to delete all branches (no branch left to switch to), show an error message displaying that the user is trying to delete all branches and there is no branch left to switch to and because of that, no branches were deleted.
> giti branch delete
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
✔ NadiaIdris/branch-2
✔ NadiaIdris/branch-3
✔ NadiaIdris/branch-4
------------------------------------------------------------------
(next step)
Up or Down: navigation
Space: select or unselect branches
Return: confirm selection
Esc or Ctrl+C: exit program
⚠️ You were trying to delete all your local branches!
⚠️ There was no branch to switch to, so no branches were deleted.
⚠️ Please leave one branch to switch to.
The text was updated successfully, but these errors were encountered:
NadiaIdris
changed the title
[tuify][giti] Account for user trying to delete all the branches
[tuify][giti] giti branch delete: Handle user trying to delete all the branches
Dec 13, 2023
nazmulidris
changed the title
[tuify][giti] giti branch delete: Handle user trying to delete all the branches
[giti] giti branch delete: Handle user trying to delete all the branches
Dec 17, 2023
Prerequisites
Install and run giti
./tuify
folder in your terminalnu run.nu install-giti
to installgiti
locally to~/.cargo/bin
giti
from anywhere on your systemgiti branch delete
Private giti design document
Task
If a user tries to delete all branches (no branch left to switch to), show an error message displaying that the user is trying to delete all branches and there is no branch left to switch to and because of that, no branches were deleted.
The text was updated successfully, but these errors were encountered: