sonic-pi

https://github.com/sonic-pi-net/sonic-pi

C++

Code. Music. Live.

Rugged::Repository#cherrypick

Cherry-pick the given commit and update the index and working
directory accordingly.

`commit` can be either a string containing a commit id or a
`Rugged::Commit` object.

The following options can be passed in the +options+ Hash:

:mainline ::
  When cherry-picking a merge, you need to specify the parent number
  (starting from 1) which should be considered the mainline.

Source | Google | Stack overflow

Edit

git clone [email protected]:sonic-pi-net/sonic-pi.git

cd sonic-pi

open app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_repo.c

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Rugged--Repository-cherrypick-for-pr


# Commit to git

git add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_repo.cgit commit -m "better docs for Rugged::Repository#cherrypick"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Rugged--Repository-cherrypick-for-pr

hub pull-request


# Celebrate!