File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,15 @@ cherryPick() {
3737 [ " ${cbranch} " = " " ] && waitonexit && return
3838 git checkout $cbranch
3939 git cherry-pick $cname
40- echo -n " Cherry picked $cname . Add files to stage(y/n)?" && wait_for_keypress
40+ echo -n " Cherry picked $cname . Add files to stage(y/n)?" && wait_for_keypress && echo
4141 [ " ${REPLY} " != " y" ] && waitonexit && return
4242 git add .
43- git cherry-pick --continue
44- echo -n " Push changes(y/n)?" && wait_for_keypress
43+ if [ -f .git/CHERRY_PICK_HEAD ]; then
44+ git cherry-pick --continue
45+ else
46+ echo " No cherry-pick in progress"
47+ fi
48+ echo -n " Push changes(y/n)?" && wait_for_keypress && echo
4549 [ " ${REPLY} " != " y" ] && waitonexit && return
4650 git push origin $cbranch
4751}
Original file line number Diff line number Diff line change @@ -16,9 +16,10 @@ menuInit "EasyKey.git"
1616 menuItemClm e " Set upstream to current" setUpstream f " Administer remotes" adminRemotes
1717 submenuHead " Working on local branches "
1818 menuItemClm r " Show branch history" showBranchHisto g " Show reflog" showRepoHisto
19+ menuItemClm l " Show all commits log" " git log --all --graph --decorate --oneline" p " Show all branches (incl. remote)" showAllBranches
1920 menuItemClm v " Checkout remote branch" coRemoteBranch n " Delete local/remote branch" deleteBranch
20- menuItemClm o " Merge source to target branch" mergeSourceToTarget p " Show all branches (incl. remote)" showAllBranches
2121 menuItemClm k " New local/remote branch checkout" newLocalBranch c " Change commit messages" ammendCommit
22+ menuItem o " Merge source to target branch" mergeSourceToTarget
2223 submenuHead " Other usefull actions "
2324 menuItemClm s " Working with diffs" workingDiffs w " Working with commits" atlassiansView
2425 menuItemClm y " Setting up repositories" settingUp 5 " Git extras" gitExtras
You can’t perform that action at this time.
0 commit comments