mirror of
https://github.com/docker/compose.git
synced 2025-05-11 18:10:13 +02:00
Merge pull request #2755 from aanand/fix-rebase-script
Fix rebase-bump-commit script
This commit is contained in:
commit
3aa545eb8e
@ -32,7 +32,7 @@ if [[ "$sha" == "$(git rev-parse HEAD)" ]]; then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
commits=$(git log --format="%H" "$sha..HEAD" | wc -l)
|
commits=$(git log --format="%H" "$sha..HEAD" | wc -l | xargs echo)
|
||||||
|
|
||||||
git rebase --onto $sha~1 HEAD~$commits $BRANCH
|
git rebase --onto $sha~1 HEAD~$commits $BRANCH
|
||||||
git cherry-pick $sha
|
git cherry-pick $sha
|
||||||
|
Loading…
x
Reference in New Issue
Block a user