-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested
Description
I think I don't need it anymore, but when anyone starts using git, a thing that we would really want is a Ctrl+Z, haha 😁
So the idea would be to have a zbg undo command that looks at the current state of git and aborts it when it's supported, or undoes the commit otherwise.
- If in rebase, it would do
git rebase --abort(grba) - If in merge, it would do
git merge --abort(gma) - If in cherry-pick, it would do
git cherry-pick --abort - ...insert every command that supports
--abort - The fallback could be to undo the latest commit:
git reset --soft HEAD~1
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestquestionFurther information is requestedFurther information is requested