Fix cherrypull.sh
(cherry picked from commit ee08168203ae4c2d08178e05a932613ade6489ed)
This commit is contained in:
parent
ae46f09c35
commit
f4fd1e7ec6
|
@ -13,12 +13,12 @@ if [ -z "$N" ]; then
|
|||
fi
|
||||
|
||||
git branch -D branch
|
||||
git co -b branch
|
||||
git checkout -b branch
|
||||
git reset --hard @~100
|
||||
git pull $RR $RB
|
||||
C=`git log | grep ^commit | head -n $N | cut -d ' ' -f2`
|
||||
RC=""
|
||||
git co master
|
||||
git checkout master
|
||||
for a in $C ; do
|
||||
RC="$a $RC"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue