git-up / GitUp

The Git interface you've been missing all your life has finally arrived.
http://gitup.co
GNU General Public License v3.0
11.52k stars 1.28k forks source link

Delete tag from both the repository and remote at the same time #592

Open richardtop opened 5 years ago

richardtop commented 5 years ago

image

Currently when deleting a tag, I have to first "delete from all remotes" and then "delete from the local repository".

I'd like to have a third option "delete from the repository and remotes"

lucasderraugh commented 5 years ago

Could work the same as deleting a branch where we prompt to remove from remotes as well.

richardtop commented 5 years ago

@lucasderraugh Yes, but I'd appreciate automatic deletion of both.

Currently, it's quite annoying to press "Also delete from the Remote" all the time. I think, there should be an option with a confirmation dialog (to not trigger it accidentally) to delete both the tag and it's remote counterpart.

lucasderraugh commented 5 years ago

Not sure I understand the difference. Currently the branch deletion is immediately for local and then confirm for remote.

My proposal would be to match that behavior where if you select delete tag locally, we would prompt the same dialog to confirm remote deletion. If you have a different flow in mind let me know. I’m just trying to maintain consistency.

richardtop commented 5 years ago

Yes, now I get it. I think, what you're proposing is the best way to handle it.

sesam commented 2 years ago

good-first-issue