sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::ReferenceCollection#create
Create a symbolic or direct reference on the collection's +repository+ with the given +name+. If the second argument is a valid OID, the reference will be created as direct. Otherwise, it will be assumed the target is the name of another reference. The following options can be passed in the +options+ Hash: :force :: Overwrites the reference with the given +name+, if it already exists, instead of raising an exception. If a reference with the given +name+ already exists and +:force+ is not +true+, an exception will be raised.
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_reference_collection.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--ReferenceCollection-create-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_reference_collection.cgit commit -m "better docs for Rugged::ReferenceCollection#create"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rugged--ReferenceCollection-create-for-pr
hub pull-request
# Celebrate!