Skip to content

Instantly share code, notes, and snippets.

Last active April 4, 2022 06:29
What would you like to do?
Cherry-pick dependabot
git branch -r | grep 'origin/dependabot/' | while read -r branch ; do git cherry-pick $(git rev-parse $branch) ; done
Copy link

yzAlvin commented Apr 4, 2022

cherry picks all dependabot branches in a repo into the current branch, useful to quickly bump package versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment