Skip to content

🍒 git cherry-pick <commit> to multiple branches

License

Notifications You must be signed in to change notification settings

danielbayerlein/git-pick

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-pick

npm version Actions Status codecov JavaScript Style Guide Dependabot Status

git cherry-pick <commit> to multiple branches. With git-pick you can cherry-pick a commit to multiple branches.

Installation

# npm
npm install @danielbayerlein/git-pick --global

# Yarn
yarn global add @danielbayerlein/git-pick

Usage

git-pick [options] <commit> <branches...>

Options

-b, --new-branch Creates a new feature branch for each given branch
-p, --pull       Fetches the changes from the remote branch, before cherry-pick the commit

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Copyright

Copyright (c) 2016-present Daniel Bayerlein. See LICENSE for details.