sonic-pi
https://github.com/sonic-pi-net/sonic-pi
C++
Code. Music. Live.
Rugged::TagCollection#create
Create a new tag with the specified +name+ on +target+ in +repo+. If +annotation+ is not +nil+, it will cause the creation of an annotated tag object. +annotation+ has to contain the following key value pairs: :tagger :: An optional Hash containing a git signature. Defaults to the signature from the configuration if only `:message` is given. Will cause the creation of an annotated tag object if present. :message :: An optional string containing the message for the new tag. Returns the OID of the newly created tag.
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_tag_collection.c
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rugged--TagCollection-create-for-pr
# Commit to gitgit add app/server/ruby/vendor/rugged-1.7.1/ext/rugged/rugged_tag_collection.cgit commit -m "better docs for Rugged::TagCollection#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--TagCollection-create-for-pr
hub pull-request
# Celebrate!