Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tuify][giti] If user deletes the branch they are on switch them to main/master branch #258

Closed
NadiaIdris opened this issue Dec 4, 2023 · 1 comment

Comments

@NadiaIdris
Copy link
Contributor

Currently if a user is on a feature branch and then tries to delete that branch, they get an error.

Change that so if user is on a feature branch and then tries to delete that branch, we switch them to main/master branch and delete the current feature branch. If they don't have a main/master branch for whatever reason, we give them an error saying that they need to switch to another branch to delete current branch. Please come up with a good UX and copy for that.

Image

@NadiaIdris
Copy link
Contributor Author

I merged this issue with #272

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant