Skip to content

Instantly share code, notes, and snippets.

@yzAlvin
Last active April 4, 2022 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yzAlvin/48d2079fa7dfcc031a6a86c7a8d0cdb0 to your computer and use it in GitHub Desktop.
Save yzAlvin/48d2079fa7dfcc031a6a86c7a8d0cdb0 to your computer and use it in GitHub Desktop.
Cherry-pick dependabot
git branch -r | grep 'origin/dependabot/' | while read -r branch ; do git cherry-pick $(git rev-parse $branch) ; done
@yzAlvin
Copy link
Author

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