Skip to content

Instantly share code, notes, and snippets.

@yzAlvin
Last active April 4, 2022 06:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
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
@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