diff options
| author | Xiao Pan <gky44px1999@gmail.com> | 2024-04-17 05:25:23 -0700 | 
|---|---|---|
| committer | Xiao Pan <gky44px1999@gmail.com> | 2024-04-17 05:25:23 -0700 | 
| commit | a1ae95058f61d5b2bf9e30153da52ed50cab1e3a (patch) | |
| tree | bb77951fa27c6c108e29c9d9bfcc00d534008c3a /sh/ccp | |
| parent | 32757507e5e33512ed8ad6da1fd4bd909efd5b6a (diff) | |
refactor
Diffstat (limited to 'sh/ccp')
| -rwxr-xr-x | sh/ccp | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -18,9 +18,9 @@ for branch in $(git branch | awk '{print ($1=="*")?$2:$1}'); do  	git pull  done -git checkout master -  < "$XDG_DATA_HOME/mydata/cfgl_cherry_picked" read -r picked +# need checkout to master branch to list new master branch commits +git checkout master  for commit in $(git rev-list --reverse "$picked..HEAD"); do  	git show "$commit"  	printf 'Enter branch name to cherry pick this commit: (a for all, enter to skip)\n' | 
