We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20a17ba commit f49d1c3Copy full SHA for f49d1c3
EasyKey.git/ezk-git-atuc.sh
@@ -56,8 +56,16 @@ atucStatus() {
56
57
}
58
59
+checkoutWay() {
60
+ git log --all --oneline
61
+ echo "Select a commit to checkout:"
62
+ read cname
63
+ executeCommand "git checkout $cname -- ."
64
+}
65
+
66
menuInit "Undoing changes"
67
submenuHead "Undoing changes"
68
+menuItem a "Just checkout contents of previous commit into working dir" checkoutWay
69
menuItem a "Revert last commit - (keep commit history - create new commit)" revertLastCommit
70
menuItem b "Revert commit - (keep commit history - create new commit)" revertToCommit
71
menuItem c "(Soft) Reset commit - (delete some commits - keep current working dir)" resetToCommit
0 commit comments