sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::Repository#cherrypick_commit
Cherry-pick the given commit on the given base in-memory and return an index with the result. `commit` can be either a string containing a commit id or a `Rugged::Commit` object. `our_commit` is the base commit, can be either a string containing a commit id or a `Rugged::Commit` object. `mainline` when cherry-picking a merge, this is the parent number (starting from 1) which should be considered the mainline.
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 branchgit checkout -b -your-name--update-docs-Rugged--Repository-cherrypick_commit-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_repo.cgit commit -m "better docs for Rugged::Repository#cherrypick_commit"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--Repository-cherrypick_commit-for-pr
hub pull-request
# Celebrate!